Date
Last updated
Was this helpful?
Last updated
Was this helpful?
The javascript Date implementation.
For more information see: .
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Gets the day of month in local time
Gets the day of the week (sunday = 0) in local time
Gets the full year of the date in local time
Gets the hours of the date in local time
Gets the milliseconds of the date in local time
Gets the minutes of the date in local time
Gets the month of the date in local time
Gets the seconds of the date in local time
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
Gets the number of minutes between GMT and this date.
Gets the UTC date.
Gets the day in UTC time.
Gets the full year in UTC time.
Gets the hours in UTC time.
Gets the milliseconds in UTC time.
Gets the minutes in UTC time.
Gets the month in UTC time.
Gets the seconds in UTC time.
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
void
Sets the date.
void
Sets the full year of the date.
void
Sets the full year of the date.
void
Sets the full year of the date.
void
Sets the hours of the date.
void
Sets the hours of the date.
void
Sets the hours of the date.
void
Sets the hours of the date.
void
Sets the milliseconds of the date.
void
Sets the minutes of the date.
void
Sets the minutes of the date.
void
Sets the minutes of the date.
void
Sets the month of the date.
void
Sets the month of the date.
void
Sets the seconds of the date.
void
Sets the seconds of the date.
void
Sets the milliseconds of the date.
void
Sets the UTC date.
void
Sets the year in UTC time.
void
Sets the year in UTC time.
void
Sets the year in UTC time.
void
Sets the hours in UTC time.
void
Sets the hours in UTC time.
void
Sets the hours in UTC time.
void
Sets the hours in UTC time.
void
Sets the milliseconds in UTC time.
void
Sets the minutes in UTC time.
void
Sets the minutes in UTC time.
void
Sets the minutes in UTC time.
void
Sets the month in UTC time.
void
Sets the month in UTC time.
void
Sets the seconds in UTC time.
void
Sets the seconds in UTC time.
Returns a string version of the date.
Returns a string version of the UTC value of the date.
Returns a string version of the local time zone of the date.
Returns a string version of the local time zone of the date.
Returns a string version of the local time zone of the date.
Returns a string version of the date.
Returns a string version of the UTC value of the date.
Return integer milliseconds count
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Takes comma-delimited date parameters and returns the number of milliseconds between January 1, 1970, 00:00:00, universal time and the specified time.
Parameters
Sample
Gets the day of month in local time
Sample
Gets the day of the week (sunday = 0) in local time
Sample
Gets the full year of the date in local time
Sample
Gets the hours of the date in local time
Sample
Gets the milliseconds of the date in local time
Sample
Gets the minutes of the date in local time
Sample
Gets the month of the date in local time
Sample
Gets the seconds of the date in local time
Sample
The value returned by the getTime method is the number of milliseconds since 1 January 1970 00:00:00.
Sample
Gets the number of minutes between GMT and this date.
Sample
Gets the UTC date.
Sample
Gets the day in UTC time.
Sample
Gets the full year in UTC time.
Sample
Gets the hours in UTC time.
Sample
Gets the milliseconds in UTC time.
Sample
Gets the minutes in UTC time.
Sample
Gets the month in UTC time.
Sample
Gets the seconds in UTC time.
Sample
Returns the milliseconds elapsed since 1 January 1970 00:00:00 UTC up until now.
Sample
Takes a date string (such as "Dec 25, 1995") and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
Parameters
Sample
Sets the date.
Parameters
Returns: void
Sample
Sets the full year of the date.
Parameters
Returns: void
Sample
Sets the full year of the date.
Parameters
Returns: void
Sample
Sets the full year of the date.
Parameters
Returns: void
Sample
Sets the hours of the date.
Parameters
Returns: void
Sample
Sets the hours of the date.
Parameters
Returns: void
Sample
Sets the hours of the date.
Parameters
Returns: void
Sample
Sets the hours of the date.
Parameters
Returns: void
Sample
Sets the milliseconds of the date.
Parameters
Returns: void
Sample
Sets the minutes of the date.
Parameters
Returns: void
Sample
Sets the minutes of the date.
Parameters
Returns: void
Sample
Sets the minutes of the date.
Parameters
Returns: void
Sample
Sets the month of the date.
Parameters
Returns: void
Sample
Sets the month of the date.
Parameters
Returns: void
Sample
Sets the seconds of the date.
Parameters
Returns: void
Sample
Sets the seconds of the date.
Parameters
Returns: void
Sample
Sets the milliseconds of the date.
Parameters
Returns: void
Sample
Sets the UTC date.
Parameters
Returns: void
Sample
Sets the year in UTC time.
Parameters
Returns: void
Sample
Sets the year in UTC time.
Parameters
Returns: void
Sample
Sets the year in UTC time.
Parameters
Returns: void
Sample
Sets the hours in UTC time.
Parameters
Returns: void
Sample
Sets the hours in UTC time.
Parameters
Returns: void
Sample
Sets the hours in UTC time.
Parameters
Returns: void
Sample
Sets the hours in UTC time.
Parameters
Returns: void
Sample
Sets the milliseconds in UTC time.
Parameters
Returns: void
Sample
Sets the minutes in UTC time.
Parameters
Returns: void
Sample
Sets the minutes in UTC time.
Parameters
Returns: void
Sample
Sets the minutes in UTC time.
Parameters
Returns: void
Sample
Sets the month in UTC time.
Parameters
Returns: void
Sample
Sets the month in UTC time.
Parameters
Returns: void
Sample
Sets the seconds in UTC time.
Parameters
Returns: void
Sample
Sets the seconds in UTC time.
Parameters
Returns: void
Sample
Returns a string version of the date.
Sample
Returns a string version of the UTC value of the date.
Sample
Returns a string version of the local time zone of the date.
Sample
Returns a string version of the local time zone of the date.
Sample
Returns a string version of the local time zone of the date.
Sample
Returns a string version of the date.
Sample
Returns a string version of the UTC value of the date.
Sample
Return integer milliseconds count
Sample
year A year after 1900.
month A number between 0 and 11.
Returns:
year A year after 1900.
month A number between 0 and 11.
date A number between 1 and 31.
Returns:
year A year after 1900.
month A number between 0 and 11.
date A number between 1 and 31.
hrs A number between 0 and 23.
Returns:
year A year after 1900.
month A number between 0 and 11.
date A number between 1 and 31.
hrs A number between 0 and 23.
min A number between 0 and 59.
Returns:
year A year after 1900.
month A number between 0 and 11.
date A number between 1 and 31.
hrs A number between 0 and 23.
min A number between 0 and 59.
sec A number between 0 and 59.
Returns:
year A year after 1900.
month A number between 0 and 11.
date A number between 1 and 31.
hrs A number between 0 and 23.
min A number between 0 and 59.
sec A number between 0 and 59.
ms A number between 0 and 999.
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
Returns:
s The date string to parse
Returns:
dayValue ;
yearValue ;
yearValue ;
monthValue ;
yearValue ;
monthValue ;
dayValue ;
hoursValue ;
hoursValue ;
minutesValue ;
hoursValue ;
minutesValue ;
secondsValue ;
hoursValue ;
minutesValue ;
secondsValue ;
msValue ;
millisecondsValue ;
minutesValue ;
minutesValue ;
secondsValue ;
minutesValue ;
secondsValue ;
msValue ;
monthValue ;
monthValue ;
dayValue ;
secondsValue ;
secondsValue ;
msValue ;
timeValue ;
dayValue ;
yearValue ;
yearValue ;
monthValue ;
yearValue ;
monthValue ;
dayValue ;
hoursValue ;
hoursValue ;
minutesValue ;
hoursValue ;
minutesValue ;
secondsValue ;
hoursValue ;
minutesValue ;
secondsValue ;
msValue ;
millisecondsValue ;
minutesValue ;
minutesValue ;
secondsValue ;
minutesValue ;
secondsValue ;
msValue ;
monthValue ;
monthValue ;
dayValue ;
secondsValue ;
secondsValue ;
msValue ;
Returns:
Returns: the Date object as a string in simplified extended ISO format.
Returns:
Returns:
Returns:
Returns:
Returns:
Returns: