Reference month()

month()

Returns the current month as a number from 1–12.

Examples

Syntax

month()

Parameters

Returns

Integer: current month between 1 and 12.

Related References