MonthName

Convert a month number to a descriptive Month.

Syntax 
      MonthName(number [,abbreviate])

Key
   number        The month number (1-12).
 
   abbreviate    True or False, abbreviate the month i.e. Jan or January

Examples

'Display a message:

WScript.Echo MonthName(12)
> December

“April is the cruelest month, breeding lilacs out of the dead land, mixing memory and desire, stirring dull roots with spring rain” ~ T.S. Eliot

Related:

InputBox - Prompt for user input
Equivalent Powershell command: Get-Date -f "MMMM"


© Copyright SS64.com 1999-2013
Some rights reserved