MonthAsString()

edit

Returns the string label for the given month

MonthAsString( month=number, locale=locale );

Returns: String

Argument Description
month
number, required
edit

a number between 1 and 12

Alias: monthNumber, number

locale
locale, optional
edit

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

Examples

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

See also