Scalar function
NULL value or NULL format yields NULL. Invalid format/value conversion can raise an error.
Syntax
Scalar
Arguments
Returns
- Type: STRING
- NULL behavior: NULL value or NULL format yields NULL. Invalid format/value conversion can raise an error.
Properties
Usage notes
- E6 argument order is (value, format), not BigQuery’s (format, value).
- The format can be a constant or a column with a different format for each row.
Examples
Basic example
Limitations
- Calendar calculations use the timestamp’s stored UTC time. They do not adjust it to the timestamp’s named time zone.
Last modified on October 15, 2026