[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Script Bug On Aix3.2
I trying to write a clock that display the local time on the server machine
I just find that function
LocalTime.getTimezoneOffset()/60
return the value
-5.983333 and not -6 as it should on IBM running AIX and Netscape 2.0.
The way around this is to use
Math.round( LocalTime.getTimezoneOffset()/60 )
Joakim.
----------------------------------------------------------
Joakim Trygg | Ames Laboratory USDOE
Email: trygg@ameslab.gov | Physics Department
Tel: (515) 294-7245 | Iowa State University
Fax: (515) 294-0689 | Ames, IA 50011 USA
WWW: http://dec2.fysik.uu.se/~joakim
----------------------------------------------------------
--------------------------------------------------------------------
This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.