Topic awaiting preservation: JavaScript Time Wrong??? (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Plano, TX |
posted 08-26-2002 17:06
I have a JavaScript for getting the time when a certain form is submitted. The script has been tested numerous times (in-house and by other users) and is rock-solid. Except for one user. This user says that her system time is correct, and that our script is setting the time one hour back. Would JavaScript have any problem with time (one hour back) on her Mac versus the typical user PC? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-26-2002 17:27
Could it be a time zone issue? |
Bipolar (III) Inmate From: Plano, TX |
posted 08-26-2002 17:58
Same time zone. This one has me thoroughly baffled. Her Mac's clock shows the correct time... but the JavaScript displays the time as one hour back. And this only happens on her Mac... the Windows users in her office show the time as matching correctly. |
Maniac (V) Mad Scientist From: New California |
posted 08-26-2002 21:46
I don't know the answer but I do remember a friend doing some work with Javascript date operations a while back. He discovered that some browser/platform combinations had a bug when it came to the date. You might want to search for something like. If I remember any more details I'll let you know. |
Maniac (V) Mad Scientist From: New California |
posted 08-26-2002 21:48
Take a look at this page: http://developer.netscape.com/viewsource/goodman_dateobject.html |