Reputation: 3500
Have an odd issue with the datepicker jumping a month on me. You can see what is happening in the jfiddle below.
Is this something I'm doing in code? It's happening in all of my browsers, IE, Firefox and Chrome.
Upvotes: 0
Views: 32
Reputation: 7518
The months in a Date are 0 based. January is 0, December is 11.
http://www.w3schools.com/jsref/jsref_obj_date.asp
Upvotes: 1