MONTH

The MONTH function extracts the month from an input date. The input date should be in MM/DD/YYYY format. Node references are also accepted as arguments.

Syntax

month(date)

Arguments

date - The date which is passed as input to the function.

Return value

Date

Example

MONTH('3/21/2023')

Returns 3.

Last updated