Date.Month

Date.Month

Returns the month component.

function (optional dateTime as nullable any) as nullable any

Description

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

Category

Date

Examples

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

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

12