Hacker News new | ask | show | jobs
by toupeira 2309 days ago
And also:

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