TODAY

TODAY returns the current date, as a date value.

Function category: Date

Syntax

TODAY()

Arguments

Description

None

No arguments. Always returns the current date.

Examples

Example 1: Inject a timestamp

If we received some incomplete data and wanted to inject a timestamp, we could do so with TODAY:

{
"data":{
"VIN": "4T1SV22E3MU392268",
"date_requested": null
}
}

We can use TODAY to set the value of the date_requested field. Calling TODAY would return something like:

2019-05-22T00:00:00.000Z

The structure of the date response returned follows the ISO 8601 standard.