DayPilot.Date.getTime

The getTime() method returns the number of milliseconds since January 1, 1970 for the specified date.

Declaration

DayPilot.Date.getTime();

Return Value

A number of milliseconds since 1970-01-01 

Example

new DayPilot.Date("1970-01-01").getTime();  // 0