Methods
(static) now() → {number}
The Date.now() method returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
- Source:
Returns:
The number of milliseconds.
- Type
- number
toISOString() → {string}
The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 characters long: YYYY-MM-DDTHH:mm:ss.sssZ. The timezone is always zero UTC offset, as denoted by the suffix "Z".
- Source:
Returns:
The date formatted as (zero UTC) ISO 8601.
- Type
- string