IntelliJ Java IDE
The moose likes Distributed Java and the fly likes How to get Date Format  of a System?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Reply Bookmark "How to get Date Format  of a System??" Watch "How to get Date Format  of a System??" New topic
Author

How to get Date Format of a System??

Balamurugan Balakrishnan
Greenhorn

Joined: Oct 12, 2009
Posts: 17
How can i get a Date & Time Format (dd/MM/yyyy hh:mm:ss) of the System using java?

Please give your suggestions.


Thanks,
Bala.
vineet kumar chaudhry
Ranch Hand

Joined: Apr 02, 2011
Posts: 44
Hi

You can use following :


EEEE is for day

Hope it helps!!!
Balamurugan Balakrishnan
Greenhorn

Joined: Oct 12, 2009
Posts: 17
First of all thanks for the Quick reply vineet.! But I really need the Date & Time format of the System. For example Windows Date & time format.

vineet kumar chaudhry wrote:Hi

You can use following :


EEEE is for day

Hope it helps!!!
 
 
subject: How to get Date Format of a System??
 
Threads others viewed
compare two dates thru Calendar
Date Question
How to display system date?
Simple Date Format problem
Date Question
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture