Skip to content

Type Alias: TimeObject ​

TimeObject = object

The wall clock fields of a time in its time zone (Time.toObject()).

Properties ​

date ​

date: number

The day of the month, from 1 to 31.


hours ​

hours: number

The hours, from 0 to 23.


milliseconds ​

milliseconds: number

The milliseconds, from 0 to 999.


minutes ​

minutes: number

The minutes, from 0 to 59.


months ​

months: number

The month, from 0 (January) to 11 (December).


seconds ​

seconds: number

The seconds, from 0 to 59.


years ​

years: number

The year (2024).

Released under the MIT License.