DayPilot.Date.getTimePart

The getTimePart() method returns the number of milliseconds since the beginning of the day.

Declaration

DayPilot.Date.getTimePart()

Parameters

This method has no parameters.

Notes

Use this method to read the time portion of the current DayPilot.Date value as an integer.

Example

const date = new DayPilot.Date("2025-03-15T08:30:45");
const timePart = date.getTimePart();

See Also

DayPilot.Date Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript