Extract Month and Year from date in Bigquery

 




You can just use the FORMAT_DATETIME function:

SELECT

    FORMAT_DATETIME("%B, %Y", DATETIME "2018-05-09 15:30:00")

FROM yourTable;



Post a Comment

0 Comments

Youtube Channel Image
TechAdvice Subscribe To watch more Blogging Tutorials
Subscribe