News for hackers. Stuff that matters.
Re:Fixing JavaScript's Date (2017) by toupeira on Thursday February 27, 2020 @06:41PM (#22439174)
And also:

    > d.getDay()
    4   // that's the weekday, use getDate()
    > d.getYear()
    120 // that's the year minus 1900, use getFullYear()

There are no comments on this comment yet.