month()

Examples


The month() function returns the months portion of a given date value.

Syntax

month(date)

Parameters

date – A date or datetime value.

Return value

An integer between 1 and 12.


Documentation Feedback