Bigquery cast string to Datetime with timezone
To Cast the string to DateTime with timezone, use the below syntax:
DATETIME(CAST( MURDER_DATE AS TIMESTAMP), "Australia/Sydney"))
Enjoy 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