> Of the three ways to specify a minimum and maximum date, I have a
> question about the second (actual dates).
>
> new Date(2009, 1 - 1, 26)
>
> I get that 2009 is the year and 26 is the day, but what is the 1 - 1?
> Is that supposed to be the month?

Yes.  Months are 0 based.  January = 0, October = 9.

thnx,
Christoph

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to