Wednesday, 3 August 2016

Javascript getYear() is not returning correct year

getYear() has a Y2K bug so if you need the actual year then call the getFullYear() method.

No comments:

Post a Comment