javascript getMonth() gets me!

Posted by Dave Noderer on Geeks with Blogs See other posts from Geeks with Blogs or by Dave Noderer
Published on Tue, 11 May 2010 20:00:33 GMT Indexed on 2010/05/11 20:14 UTC
Read the original article Hit count: 241

Filed under:

I’ve been working a lot with Microsoft CRM over the past few months and much of the screen level customization uses javascript.

One thing I discovered today while breaking apart some dates was that the javascript getDate() returns the day of the month 1-31 as you would expect but the getMonth() returns 0-11… definitely not what I expected!!

© Geeks with Blogs or respective owner