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.
string ISO8601DATETIME(DateTime? value)
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.