Date.Month

Syntax

Date.Month(dateTime as any) as nullable number

About

Returns the month component of the provided datetime value, dateTime.

Example 1

Find the month in #datetime(2011, 12, 31, 9, 15, 36).

Usage

Date.Month(#datetime(2011, 12, 31, 9, 15, 36))

Output

12