Functions

ISO8601DATETIME

Returns the ISO8601 date and time string for a date. Note that the ISO 8601 date and time format is YYYY-MM-DD hh:mm:ss, times are expressed in UTC.

Syntax

string ISO8601DATETIME(DateTime? value)

Example

ISO8601DATETIME(NOW())

Will return the date and time for now in the format YYYY-MM-DD hh:mm:ss, the time will be shown in UTC.