aspose file tools*
The moose likes Beginning Java and the fly likes date stamp format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "date stamp format" Watch "date stamp format" New topic
Author

date stamp format

Dmitry Shekhter
Greenhorn

Joined: Feb 21, 2001
Posts: 26
Hi all,
I'm looking to create a date/time stamp that would put the creation-time of a file in the following date/time format
yyyymmddhhmmss ... I can't seem to find a way to do that, I've looked at the Date, and Timestamp classes, maybe I'm missing something. Could someone show me how this works?
Thanks in advance
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1821

look at the java.text.DateFormat class


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Dmitry Shekhter
Greenhorn

Joined: Feb 21, 2001
Posts: 26
Thank you Joel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: date stamp format