Date.Month

About

Returns the month from a DateTime value.

Syntax

Date.Month(dateTime as datetime) as nullable number  

Arguments

Argument Description
date The Date to retrieve the month for.

Example

Date.Month(DateTime.FromText("2011-02-19")) equals 2