This repository was archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
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.
If we received some incomplete data and wanted to inject a timestamp, we could do so with NOW
:
{
"data":{
"VIN": "4T1SV22E3MU392268",
"date_requested": null
}
}
We can use NOW
to set the value of the date_requested
field. Calling NOW
would return something like:
2019-05-22T09:51:16.597Z
The structure of the datetime response returned follows the ISO 8601 standard.