DayPilot.Event.partStart

The partStart() method returns the start of the currently visible event part as a DayPilot.Date value.

Declaration

DayPilot.Event.partStart()

Parameters

This method has no parameters.

Notes

There are two cases when the visible event box does not represent the full event duration:

  • The overnight events will be shown as two or more event parts, each in one day.

  • If non-business hours are hidden and the event starts or ends in the non-business hours.

In these cases, partStart() can return a different value than start().

Example

const visibleStart = e.partStart();

See Also

DayPilot.Event Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript