wood burning stoves*
The moose likes Beginning Java and the fly likes how to get system date and format it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to get system date and format it" Watch "how to get system date and format it" New topic
Author

how to get system date and format it

Bhasker Reddy
Ranch Hand

Joined: Jun 13, 2000
Posts: 176
I am trying to save a xml file. I want to retrieve
the system date and name the file as systemdate
stamp like mmddyyhrminutes(in this format).
Do you know how to retrieve system date and
format it in that way


Bhasker Reddy
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
Check out the SimpleDateFormat class.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get system date and format it
 
Similar Threads
compare two dates thru Calendar
<bean:write/> of struts1
how to get system date and format it
How to get System Date and time
How to get System Date and time