SQL Notebook (logo)

MONTH Function

Returns the month part of a date/time string, represented as an integer 1-12.

Syntax

MONTH(date)

Arguments

Return Value

An integer representing the month.

Examples