jQuery in Action, 2nd edition
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
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to get system date and format it
 
Similar Threads
how to get system date and format it
How to get System Date and time
compare two dates thru Calendar
<bean:write/> of struts1
How to get System Date and time