This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
NOW
Daniel Gorman edited this page May 22, 2019
·
3 revisions
NOW
returns the current date and time.
NOW()
-
NOW
takes no arguments, and always returns the current date and time.
Calling NOW
will return a datetime object that looks something like this:
2019-05-22T09:51:16.597Z
The structure of the datetime response returned follows the ISO 8601 standard.
The NOW
function is similar to the TODAY
function, with the primary difference being that NOW
returns a datetime object, whereas TODAY
returns only a date object.