Skip to main content
Converts the specified date into a string in ISO 8601 format.

Syntax

Parameters

date: the date you want to convert. It must be a valid date or date expression.

Examples

Example 1: Convert the date 2020-01-01 into a string in ISO 8601 format.
Example 2: Convert the date 2020-01-01 00:00:00.01 into a string in ISO 8601 format.

Keywords

TO_ISO8601