now

Returns the current date and time in the ISO 8601 format.

now

Returns the current date and time in the ISO 8601 format.

Type: function

Returns

Type: string

The current date and time as an ISO 8601 string.

Examples

now() // "2023-12-25T10:30:00.000Z"
now() // "2023-12-25T14:45:30.123Z" (different time)
Cookie Notice

We use cookies to enhance your browsing experience.