Calendar Types
By default, the DatePicker works with Date
objects which support only the Gregorian calendar.
As a result, the DateTimePicker does not support other calendar types such as Lunar.
To work around the default behavior of the DateTimePicker and simulate a different calendar type, use either of the following approaches:
- Use the JavaScript
Date
object. - Create a date that is in the past.