wood burning stoves 2.0*
The moose likes Ranch Office and the fly likes Time and time-zone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Time and time-zone" Watch "Time and time-zone" New topic
Author

Time and time-zone

Rohan Dhruva
Ranch Hand

Joined: May 08, 2007
Posts: 183
Hi,

I'm confused about a thing at the Saloon .. Below each page there is a footer which has the statement


All times are in your local time zone & format. Current ranch time is Friday 12:47, US Mountain time (GMT-7).


But there is no place where I can set my time zone - or did I miss it ?

Regards ..


Rohan B. Dhruva
SCJP 1.5
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Originally posted by Rohan Dhruva:

But there is no place where I can set my time zone - or did I miss it ?


Time calculations are done on the desktop using JavaScript. The browser knows your timezone already; there's no JavaRanch-specific timezone setting. If you need to change it, then use your system's preferences (i.e., Windows control panel) to do so.


[Jess in Action][AskingGoodQuestions]
Rohan Dhruva
Ranch Hand

Joined: May 08, 2007
Posts: 183
I am very sorry, it seems there is a configuration error on my linux system ..
Rohan Dhruva
Ranch Hand

Joined: May 08, 2007
Posts: 183
I think there is something strange going on. I'm using Ubuntu and Fedora - both have time zones set to Asia/Calcutta i.e. GMT +5.30

However, firefox still reports Mountain Time GMT -7 for the JavaRanch Saloon. Is this time thingie compatible with IE only ? Or is there something which firefox or linux is doing differently than expected by JavaRanch ?
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
I've changed the message you're looking at, so it now says:

All times above are in your local time zone & format. The current ranch time (not your local time) is [current time], US Mountain time (GMT-7).

I hope that is clearer.


"I'm not back." - Bill Harding, Twister
Rohan Dhruva
Ranch Hand

Joined: May 08, 2007
Posts: 183
Oh yes, much clearer now !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Time and time-zone