SyntaxFix
Write A Post
Hire A Developer
Questions
Using Date object guarantees that. For eg if you try to create April 31st :
April 31st
new Date(2014,3,31) // Thu May 01 2014 00:00:00
Please note that it's zero indexed, so Jan. is 0, Feb. is 1 etc.
0
1