Saturday, May 16, 2009

Javascript Date Format

Just a small note, Javascript has two functions for the Date.Year. I needed to use the Full year function but unintentionally I have used getYear() function.

The correct method is getFullYear()

No comments: