DayPilot.Calendar.allDayEnd

The allDayEnd property (string) 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").

Declaration

DayPilot.Calendar.allDayEnd

Possible Values

  • "DateTime" - treat the end date as an exact date/time point ("2028-05-02T00:00:00" means until the end of May 1, 2028)

  • "Date" - treat the end date as a date only ("2028-05-02T00:00:00" or "2028-05-02" means until the end of May 2, 2028)

Default Value

"DateTime"

Notes

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

See Also

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript