DayPilot.Calendar.allDayEnd

The allDayEnd property determines how the end date/time values of Calendar all-day events are handled.

The Calendar component can interpret the end value as a date/time ("DateTime") or a date only ("Date").

Possible Values

  • "DateTime" - treat the end date as an exact date/time point ("2023-05-02T00:00:00" means until the end of May 1, 2023)
  • "Date" - treat the end date as a date only ("2023-05-02T00:00:00" or "2023-05-02" means until the end of May 2, 2023)

Default Value

"DateTime"

Notes

If you store all-day event end as date-only value in the database, use "Date". Otherwise the all-day events will be displayed one day shorter.