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?
|
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.
|