aspose file tools*
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
Author

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: 14351
    
  22

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!
 
 
subject: I just want the Date !