DayPilot.Date Constructor
DayPilot.Date()
Creates a new instance using the current local date & time.
DayPilot.Date(string)
Creates a new instance using a date specified in ISO 8601 format ("2009-01-01T00:00:00").
DayPilot.Date(date, isLocal)
Parameters:
- date (Date) - Date object which should be used to set the initial value. If it is null, current local date and time will be used.
- isLocal (bool) - if true, the date parameter is read as local time; if false the GMT base of date is used