MONTH

Description

Returns an integer that represents the month of the specified date. (MONTH in Transact-SQL).

Sample Source Pattern

Syntax

MONTH( date )  

Examples

Code:

SELECT MONTH('10-10-2022') AS MONTH

Result:

MONTH|
-----+
   10|

Last updated