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: Mon, Sep 27, 2021 (11:50:28 AM)

On This Page

FEEDBACK