EXTRACTMONTH

This function returns the month part of the input timestamp value. Also see EXTRACT.

Syntax

SELECT EXTRACT(MONTH FROM TIMESTAMP timestamp_expr);