Bigquery cast string to Datetime with timezone
Sample data:
\n\n2016-10-24 15:00:00\n\n
To Cast the string to DateTime with timezone, use the below syntax:
\n\nDATETIME(CAST( MURDER_DATE AS TIMESTAMP), "Australia/Sydney"))\n
Ryan-Dallas
posted onEnjoy great content like this and a lot more !
Signup for a free account to write a post / comment / upvote posts. Its simple and takes less than 5 seconds
Post Comment