BigQuery: output ISO string for a timestamp field? -
i have bigquery table timestamp field.
i have read through the available functions, can't find way output iso string of timestamp field.
is there way this?
assuming field of timestamp type, following produce iso 8601/iso 3339 compliant representation:
select format_timestamp("%y-%m-%dt%x%ez", current_timestamp) this returns value such 2017-09-13t22:44:28+00:00.
for more information, see format_timestamp documentation.
Comments
Post a Comment