File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 1815
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
 
Similar Threads
capturing compile date & time
unable to retrieve timestamp in my servlet
unable to retrieve timestamp in my servlet
time stamp question
getting last row