![]() |
![]()
Returns a new date object for the current time.
Returns a new date object for the represented by the number in
milliseconds from the epoch, January 1, 1970 12:00 GMT.
Returns a new date object with the given time in the current time
zone. Missing parameters are set to 0, so
Date(1999, 12) will
be midnight December 1.
Returns the current time in milliseconds from the epoch GMT as a number.
Returns
.
The time in milliseconds from the epoch for the given time in GMT.
Parses the date given as a string and returns the time in milliseconds.
Returns the time in milliseconds GMT from the epoch.
Returns a string representation of the date.
Returns a locale-specific string representation of the date.
Returns the 4-digit year in the local time zone.
Returns the 4-digit year GMT.
Returns the month in the local time zone, where 1 is January.
Returns the month GMT, where 1 is January.
Returns the day of month in the local time zone.
Returns the day of month GMT.
Returns the hour in the local time zone.
Returns the hour GMT.
Returns the minutes in the local time zone.
Returns the minutes GMT.
Returns the seconds in the local time zone.
Returns the seconds GMT.
Returns the milliseconds in the local time zone.
Returns the milliseconds GMT.
Returns the timezone offset for the local time zone.
Sets the year, month, day.
Sets the year, month, day.
Sets the month, day.
Sets the month, day.
Sets the day.
Sets the day.
Sets the hours, minutes, seconds, and milliseconds.
Sets the hours, minutes, seconds, and milliseconds.
Sets the minute, seconds, and milliseconds.
Sets the minutes, seconds, and milliseconds.
Sets the seconds and milliseconds.
Sets the seconds and milliseconds.
Sets the milliseconds.
Sets the milliseconds.
|