DRAFTThis page is not published. Only visible in development mode.
date module

date::month

Extract the month (1-12) from a date value.

Syntax

RQL

Parameters

NameTypeDescription
date_valueDate/TimestampThe date to extract the month from

Return Value

Returns an integer from 1-12 representing the month (1 = January, 12 = December).

Examples

$ Extract month from date
$ ctrl+enter to run

Related Functions