Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

JavaScript help

Name: Anonymous 2011-06-15 3:27

So I am on PST time (UTC -8), but my browser (Firefox 4.0) is reporting 420 minutes through the getTimezoneOffset() date function. 420 minutes divided by 60 gives me seven hours, so I'm wondering why they don't match. Also, why are the minutes not negative? I would expect it to return -480.

For the record, my system clock is set correctly and other functions like getHours() and getMinutes() work correctly. Is this just a daylight savings time issue? I'm okay with that, but why isn't it negative?

Name: Anonymous 2011-06-15 17:52

>>14
fuck off. javascript is the best programming language. it just needs to be implemented on a lower level. someday I'll make a JavaScript OS.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List