Version: 2.0
-
Syntax:
- MonthName(Month, Abbreviate)
- Month
- The Month argument is the number of the month (i.e., 1 through 12).
- Abbreviate
- The Abbreviate argument is a Boolean value which gives
the option of having the returned month name being abbreviated to the
first three characters.
The MonthName function returns the name of the month.
Examples
Code:
<% =MonthName(6) %>
Output:
June
Language(s):
VBScript
Code:
<% =MonthName(6, True) %>
Output:
Jun
Explanation:
If set to True, the name will be abbreviated. If set to
False the name will not be abbreviated.
Language(s):
VBScript
See Also: