This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 167

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: 19719

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: 167
yes, thanks a bunch.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: calendar 24 hours format
It's not a secret anymore!