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

Open in Github Built: Fri, Mar 11, 2022 (04:59:07 PM)

On This Page

FEEDBACK