TO_ISO8601

All functions > DATE AND TIME > TO_ISO8601

Returns an ISO 8601 string from the given timestamp.

Signatures

Returns: An ISO 8601 formatted string representation

TO_ISO8601(timestamp: TIMESTAMP) → VARCHAR
sql
ParameterTypeRequiredDescription
timestampTIMESTAMPYesA TIMESTAMP value to convert

Notes

  • Converts timestamp to ISO 8601 string format
  • Output format: YYYY-MM-DDTHH:MM:SS
  • Includes timezone information
  • Useful for standardized datetime string representation
  • Inverse of FROM_ISO8601_TIMESTAMP

Examples

FeatureQL
SELECT
    f1 := TO_ISO8601(TIMESTAMP '2024-03-15 10:30:00')  -- Convert timestamp to ISO 8601
;
Result
f1 VARCHAR
2024-03-15T10:30:00

Last update at: 2026/03/03 16:47:38
Last updated: 2026-03-03 16:48:19