aspose file tools*
The moose likes Java in General and the fly likes DST Problem on client side Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "DST Problem on client side" Watch "DST Problem on client side" New topic
Author

DST Problem on client side

Deepa More
Ranch Hand

Joined: May 22, 2006
Posts: 68
Hi,
We have web application running on websphere server located in US. One of the user(in London) gets one hour less time than the actual time should be. Timezone for that users region is GMT+0 that is GMT only. But because of DST it should be GMT+ 1(hour). Still that user is getting GMT, but other users of that region get valid time.
For example, If time in GMT is 11:00, then that specific user gets 11:00, while other users of same region gets 12:00 which is right time.
We checked Timezone of that user and it is set correctly.
What is the cause and solution for this?

Thanks in advance.
[ September 12, 2007: Message edited by: Deepa More ]
Deepa More
Ranch Hand

Joined: May 22, 2006
Posts: 68
There is no answer for this or what?
Can anybody please suggest me on this problem.

Thanks
Deepa
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13875
    
  10

If this problem only happens on one user's computer and not on the computers of other users in the same time zone, then the problem cannot be anything else than some setting or other problem on that user's computer.

Is the user running Windows? Which version of Windows? Is it different than what the other users are using? Does the user have all the latest Windows patches installed?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
And what browser is he using? Does he get the same results with other browsers?


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Tamas Jano
Ranch Hand

Joined: Feb 21, 2007
Posts: 55
Hi Deepa,

Just to make it clear, where exactly is getting the user the time? At display or in the back-end? If you log user actions on the server, what time is displayed or if you perform actions that insert/modify in the database and have the time saved what value is it? The correct or the wrong? If the wrong are Webspheres clustered and you might have a node in London?

If the wrong time is just in the browser, what exactly are you using to display it? Javascript or applet? Are you sure the time displayed comes from the server or is there a possibility that it comes from the client machine?

Regards,
Tamas
[ September 18, 2007: Message edited by: Tamas Jano ]
 
jQuery in Action, 2nd edition
 
subject: DST Problem on client side
 
Similar Threads
java.util.Calendar, setTime and DST
Timezone Issues
Timezones... a better way!
Daylight saving issue.
Windows SBS 2008 and timezone (DST) problem in Europe/Berlin