File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Head First Android 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: 164


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
Sheriff

Joined: Oct 14, 2005
Posts: 19693
    
  10

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: 164
yes, thanks a bunch.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: calendar 24 hours format
 
It's not a secret anymore!