MonthAsString

Returns the string label for the given month

Returns: string

Usage

MonthAsString( month [, locale ] )

Arguments

Argument Description
month
(number, required)

a number between 1 and 12

locale
(locale, optional)

Locale to use instead of the locale of the page when processing the function

Examples

dump(monthAsString(1)); // January
  dump(monthAsString(12)); // December