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

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -