Methods
getMilliseconds
- getMilliseconds(): number
getTimezoneOffset
- getTimezoneOffset(): number
getUTCMilliseconds
- getUTCMilliseconds(): number
setDate
- setDate(date: number): number
-
Parameters
Returns number
setFullYear
- setFullYear(year: number, month?: number, date?: number): number
-
Parameters
-
year: number
-
Optional month: number
-
Optional date: number
Returns number
setHours
- setHours(hours: number, min?: number, sec?: number, ms?: number): number
-
Parameters
-
hours: number
-
Optional min: number
-
Optional sec: number
-
Optional ms: number
Returns number
setMilliseconds
- setMilliseconds(ms: number): number
-
Parameters
Returns number
setMinutes
- setMinutes(min: number, sec?: number, ms?: number): number
-
Parameters
-
min: number
-
Optional sec: number
-
Optional ms: number
Returns number
setMonth
- setMonth(month: number, date?: number): number
-
Parameters
-
month: number
-
Optional date: number
Returns number
setSeconds
- setSeconds(sec: number, ms?: number): number
-
Parameters
-
sec: number
-
Optional ms: number
Returns number
setTime
- setTime(time: number): number
-
Parameters
Returns number
setUTCDate
- setUTCDate(date: number): number
-
Parameters
Returns number
setUTCFullYear
- setUTCFullYear(year: number, month?: number, date?: number): number
-
Parameters
-
year: number
-
Optional month: number
-
Optional date: number
Returns number
setUTCHours
- setUTCHours(hours: number, min?: number, sec?: number, ms?: number): number
-
Parameters
-
hours: number
-
Optional min: number
-
Optional sec: number
-
Optional ms: number
Returns number
setUTCMilliseconds
- setUTCMilliseconds(ms: number): number
-
Parameters
Returns number
setUTCMinutes
- setUTCMinutes(min: number, sec?: number, ms?: number): number
-
Parameters
-
min: number
-
Optional sec: number
-
Optional ms: number
Returns number
setUTCMonth
- setUTCMonth(month: number, date?: number): number
-
Parameters
-
month: number
-
Optional date: number
Returns number
setUTCSeconds
- setUTCSeconds(sec: number, ms?: number): number
-
Parameters
-
sec: number
-
Optional ms: number
Returns number
toJSON
- toJSON(key?: any): string
-
Parameters
Returns string
toLocaleDateString
- toLocaleDateString(): string
toLocaleTimeString
- toLocaleTimeString(): string