millis
Returns the current date and time in milliseconds since the Unix epoch.
millis
Returns the current date and time in milliseconds since the Unix epoch.
Type: function
Returns
Type: number
The current timestamp in milliseconds.
Examples
millis() // 1703505000000
millis() // 1703505123456 (different time)
dateTimeToMillis
Parses the date and time in the ISO 8601 format and returns the number of milliseconds since the Unix epoch.
millisToDateTime
Parses the number of milliseconds since the Unix epoch or parses a string (with or without specified format) and returns the date and time in the ISO 8601 format.