The getTotalTicks() method returns the total number of milliseconds since January 1, 1970.
DayPilot.Date.getTotalTicks()This method has no parameters.
This value corresponds to Date.getTime() for the current date/time.
const date = new DayPilot.Date("2025-03-15T08:30:45");
const totalTicks = date.getTotalTicks();