Syntax
- new Date();
- new Date(value);
- new Date(dateAsString);
- new Date(year, month[, day[, hour[, minute[, second[, millisecond]]]]]);
Parameters
Untitled Database
Create a new Date object
Comparing dates
Convert to a string
Creating a Date from UTC
Formatting a date
Get the current time and date
Convert to JSON
Increment a Date Object
Get the number of milliseconds elapsed since 1 January 1970 00 00 00 UTC