Welcome Guest Search | Active Topics | Sign In | Register

DatePicker returns previous month Options
Jeff Lundgren
Posted: Friday, April 16, 2010 12:35:34 PM
Rank: Advanced Member
Groups: Member

Joined: 8/22/2007
Posts: 30
var dte = eo_GetObject("eoDatePick").getSelectedDate();
alert('month: ' + dte.getMonth());

This code above, returns the previous month... is this a bug?
Jeff Lundgren
Posted: Friday, April 16, 2010 12:42:40 PM
Rank: Advanced Member
Groups: Member

Joined: 8/22/2007
Posts: 30
Nevermind, I found that getDate() returns an ordinal, not the month number.. where 0 is Jan.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.