Skip to main content

Date.MonthName

Returns the name of the month component.

Syntax

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

Remarks

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

Examples

Example #1

Get the month name.

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

Result:

"December"

Category

Date