The getTotalTicks() method returns the total number of milliseconds since January 1, 1970.
Declaration
DayPilot.Date.getTotalTicks()Parameters
This method has no parameters.
Notes
This value corresponds to Date.getTime() for the current date/time.
Example
const date = new DayPilot.Date("2025-03-15T08:30:45");
const totalTicks = date.getTotalTicks();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot