interface DateConstructor
Private

Call Signatures

(): string

Properties

readonly
prototype: Date

Methods

parse(s: string): number

Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.

UTC(
year: number,
monthIndex: number,
date?: number,
hours?: number,
minutes?: number,
seconds?: number,
ms?: number,
): number

Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.

now(): number

Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).