Javascript Reference
Categories: Date

javascript Date getTimezoneOffset( )

@June 9, 2008, 1:30 p.m.
getTimezoneOffset( ) Firefox/Netscape/NN 2 IE 3 ECMA 1  



Returns a zero-based integer corresponding to the number of minutes difference between GMT and the client computer's clock for an instance of the Date object. Time zones to the west of GMT are positive values; time zones to the east are negative values. Numerous bugs plagued this method in early browsers, especially Macintosh versions.



Returned Value

Integer between -720 and 720.

Powered by Linode.