aspose file tools*
The moose likes Java in General and the fly likes calendar 24 hours format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "calendar 24 hours format" Watch "calendar 24 hours format" New topic

calendar 24 hours format

Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 147

currentDateXmlFormated is ..06:00 but infact it is 18:00

My win7 sistem clock is OK. How can I sort that out ?

Searchable nature photo gallery:
Paul Clapham

Joined: Oct 14, 2005
Posts: 18115

I think yo should use HH instead of hh, but I'm not looking at the documentation right now. You should do that to confirm whether I am right.
Miran Cvenkel
Ranch Hand

Joined: Nov 23, 2010
Posts: 147
yes, thanks a bunch.
I agree. Here's the link:
subject: calendar 24 hours format
Similar Threads
Issues with fetching Year and Month from the Calender
How to subtract the date value
Calendar() / Date() bug ???
Convert Calendar object to Date object
java.util.Calendar problem.