Interface DateConstructor
Callable
-
Returns string
Constructors
constructor
- new DateConstructor(): Date
- new DateConstructor(value: number | string): Date
- new DateConstructor(year: number, month: number, date?: undefined | number, hours?: undefined | number, minutes?: undefined | number, seconds?: undefined | number, ms?: undefined | number): Date
- new DateConstructor(value: number | string | Date): Date
-
-
Parameters
-
Parameters
-
year: number
-
month: number
-
Optional date: undefined | number
-
Optional hours: undefined | number
-
Optional minutes: undefined | number
-
Optional seconds: undefined | number
-
Optional ms: undefined | number
-
Parameters
-
value: number | string | Date
Properties
prototype
Methods
UTC
- UTC(year: number, month: number, date?: undefined | number, hours?: undefined | number, minutes?: undefined | number, seconds?: undefined | number, ms?: undefined | number): number
-
Parameters
-
year: number
-
month: number
-
Optional date: undefined | number
-
Optional hours: undefined | number
-
Optional minutes: undefined | number
-
Optional seconds: undefined | number
-
Optional ms: undefined | number
Returns number
now
-
Returns number
parse
-
Parameters
Returns number
Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.