The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
The month as a number between 0 and 11 (January to December).
The date as a number between 1 and 31.
Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
A number from 0 to 999 that specifies the milliseconds.
Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
The full year designation is required for cross-century date accuracy. If year is between 0 and 99 is used, then year is assumed to be 1900 + year.
The month as a number between 0 and 11 (January to December).
The date as a number between 1 and 31.
Must be supplied if minutes is supplied. A number from 0 to 23 (midnight to 11pm) that specifies the hour.
Must be supplied if seconds is supplied. A number from 0 to 59 that specifies the minutes.
Must be supplied if milliseconds is supplied. A number from 0 to 59 that specifies the seconds.
A number from 0 to 999 that specifies the milliseconds.
Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.
A date string
Generated using TypeDoc
Creates a new Date.