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

Pages: 1-

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 4:17

DST

Name: Anonymous 2011-06-15 4:25

GMT-4

Name: Anonymous 2011-06-15 4:25

>>1
420 minutes
S M O K E
W E E D
E V E R Y D A Y

Name: Anonymous 2011-06-15 11:30

Huh, helpful. I guess this is why the text boards are so popular. Next time I'll be sure to argue about which esoteric programming language is the best so you morons have something to talk about.

Name: Anonymous 2011-06-15 11:31

>>5
Codan is the best, as dictated by XARN.

Name: Anonymous 2011-06-15 11:32

>>5
It's Lisp.

Name: Anonymous 2011-06-15 11:34

>>7
Your version of esoteric must be deprecated.

Name: Anonymous 2011-06-15 11:39

>>5
JS is not programming.

Name: Anonymous 2011-06-15 11:41

>>9
Neither is this.

Name: Anonymous 2011-06-15 11:57

>>10
Neither is this.

Name: Anonymous 2011-06-15 12:45

>>5-
Shut the fuck up.

Name: Anonymous 2011-06-15 16:05

OP: you are a retard for not posting this on stackoverflow. now go there and leave us alone

also fucking aged, tired of n00bs treating /prog/ like it's a support forum... you don't fucking pay us and we don't even get points or karma.. WTFF U EXPECT?

Name: Anonymous 2011-06-15 16:53

JavaScript is cancer and you should die.

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.

Name: Anonymous 2011-06-15 20:18

>>15
You've obviously never worked as a computer programmer for a living before.

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