a date
date
Returns the number of milliseconds between midnight, January 1, 1970 Universal Coordinated Time (UTC) (or GMT) and the specified date.
a date
date
Creates a new date object using the provided unix time stamp.
a unix time stamp
date
Gets the day-of-the-month, using local time.
date
Gets the hours in a date, using local time.
hours
Gets the milliseconds of a Date, using local time.
milliseconds
Gets the minutes of a Date object, using local time.
minutes
Gets the month, using local time.
month
Gets the seconds of a Date object, using local time.
seconds
Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC.
time
Gets the day-of-the-month, using Universal Coordinated Time (UTC).
day
Gets the hours value in a Date object using Universal Coordinated Time (UTC).
hours
Gets the milliseconds of a Date object using Universal Coordinated Time (UTC).
milliseconds
Gets the minutes of a Date object using Universal Coordinated Time (UTC).
minutes
Gets the month of a Date object using Universal Coordinated Time (UTC).
month
Gets the seconds of a Date object using Universal Coordinated Time (UTC).
seconds
Gets the year using Universal Coordinated Time (UTC).
year
Gets the day of the week, using local time.
day
Gets the year, using local time.
year
Returns the current date and time.
date
Parses a string containing a date, and returns the number of milliseconds between that date and midnight, January 1, 1970.
a date string
the number of milliseconds between that date and midnight, January 1, 1970.
Sets the numeric day-of-the-month value of the Date object using local time.
a date and the day
date
Sets the hour value in the Date object using local time.
a date and the hours
date
Sets the milliseconds value in the Date object using local time.
a date and the milliseconds
date
Sets the minutes value in the Date object using local time.
a date and the minutes
date
Sets the month value in the Date object using local time.
a date and the month
date
Sets the seconds value in the Date object using local time.
a date and the seconds
date
Sets the date and time value in the Date object.
a date and the time
date
Sets the numeric day of the month in the Date object using Universal Coordinated Time (UTC).
a date and the day
date
Sets the hours value in the Date object using Universal Coordinated Time (UTC).
a date and the hours
date
Sets the milliseconds value in the Date object using Universal Coordinated Time (UTC).
a date and the milliseconds
date
Sets the minutes value in the Date object using Universal Coordinated Time (UTC).
a date and the minutes
date
Sets the month value in the Date object using Universal Coordinated Time (UTC).
a date and the month
date
Sets the seconds value in the Date object using Universal Coordinated Time (UTC).
a date and the seconds
date
Sets the year value in the Date object using Universal Coordinated Time (UTC).
a date and the year
date
Sets the year of the Date object using local time.
a date and the year
date
Returns a date as a string value.
a date
date as string
Returns a date as a string value in ISO format.
a date
date as string
Returns a date as a string value in JSON format.
a date
date as string
Returns a string representation of a date. The format of the string depends on the locale.
a date
date as string
Returns a time as a string value.
a date
time as string
Returns a date converted to a string using Universal Coordinated Time (UTC).
a date
date as utc string
Generated using TypeDoc
Creates a new date object using the provided date params.
create
create date
false