File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes I just want the Date ! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I just want the Date !" Watch "I just want the Date !" New topic

I just want the Date !

Dave Jones
Ranch Hand

Joined: Feb 20, 2005
Posts: 77
Hello all,
Checking the API I've found 3 or 4 different classes dealing with 'Date'
in some, most methods are deprecated...
I just need to get the current date in a String format ( e.g 27.3.05 22:35 or something similar)
This is supposed to be simple but I'm just confused
Thanks all
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15093

Very simple:

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Dave Jones
Ranch Hand

Joined: Feb 20, 2005
Posts: 77
thanks a lot, that's exactly what I needed clean and simple!
I agree. Here's the link:
subject: I just want the Date !
It's not a secret anymore!