Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
Constructs a date.
As with the built in Date constructor there are five basic forms of the constructor. In all cases the last parameter is an optional time zone. If absent the default is the local time zone.
No date parameters: the current date and time.
An integer value of the number of milliseconds since 1970-01-01T00:00:00+00:00.
A date string.
A Date object.
In addition to the above a DateTz object may be passed.
The Date object.
The day of the month.
The hours of the day.
True if the date is subject to daylight savings.
The milliseconds of the second.
The minutes of the hour.
The month, where 1 is January.
The offset from UTC in minutes.
The date parts.
The seconds of the minute.
The time zone.
The day of the week.
The year.
Get the time in milliseconds since 1970-01-01T00:00:00+00:00.
Generate the ISO format.
Return a string representation.
Get the value as a number
Generated using TypeDoc
A time zone aware date class.