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:

IN -> SqlServer_01.sql
SELECT MONTH('10-10-2022') AS MONTH

Result:

MONTH|
-----+
   10|

Known Issues

No issues were found.

No related EWIs.

Last updated