News for hackers. Stuff that matters.
Re:Fixing JavaScript's Date (2017) by paulddraper on Thursday February 27, 2020 @08:14PM (#22439720)
That consistent with days of the week, which start at 0 on Sunday.

The bigger WTF is getYear(), which returns the year minus 1,900.

There are no comments on this comment yet.