I'm looking for a way to convert dates to ISO Year Week (YYYYww).
I used to use the following in Postgres. Does something similar exist for BigQuery?
to_char( current_date() :: DATE, 'IYYYIW' )
The output should have a leading 0 for weeks when applicable.
Cheers,