datepicker minDate format

datepicker minDate format


Looking to implement datepicker with minDate and maxDate set. But I
don't understand the "actual" date format.
The example given is "new Date(2009, 1 - 1, 26)" and it seems to set
the date to 2009-01-26, but what is the "1 - 1"?
What, as an example, would I set minDate to for the date 2009-10-25.
Thanks