month() Function

Returns the month from the specified date.

Syntax

month( date )

date: (Date) The date from which the month is extracted.

Returns

Integer

Examples

You can experiment with this function in the test box below.

Test Input

month(date(2011,2,28)) returns 2

FEEDBACK