Date.MonthName

Syntax

Date.MonthName(date as any, optional culture as nullable text) as nullable text

About

Returns the name of the month component for the provided date. An optional culture may also be provided (for example, "en-US").

Example 1

Get the month name.

Usage

Date.MonthName(#datetime(2011, 12, 31, 5, 0, 0), "en-US")

Output

"December"