This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "calendar 24 hours format" Watch "calendar 24 hours format" New topic
Author

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: http://agrozoo.net/jsp/Galery.jsp?l2=en
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

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: http://aspose.com/file-tools
 
subject: calendar 24 hours format
 
Similar Threads
Issues with fetching Year and Month from the Calender
Calendar() / Date() bug ???
java.util.Calendar problem.
How to subtract the date value
Convert Calendar object to Date object