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

If we received some incomplete data and wanted to inject a timestamp, use the following function.

# Response requiring timestamp
{
"data":{
"VIN": "4T1SV22E3MU392268",
"date_requested": null
}
}

We can use TODAY to set the value of the date_requested field.

# Value of today.
2019-05-22T00:00:00.000Z
# Returns a date following ISO 8601 standard.

See also NOW.