VBScript MonthName Function
Complete VBScript Reference
The MonthName function returns the name of the specified month.
Syntax
MonthName(month[,abbreviate])
|
Parameter |
Description |
month |
Required. Specifies the number of the month (January is
1, February is 2, etc.) |
abbreviate |
Optional. A Boolean value that indicates if the month
name is to be abbreviated. Default is False |
Example 1
document.write(MonthName(8))
Output:
August
|
Example 2
document.write(MonthName(8,true))
Output:
Aug
|
Complete VBScript Reference
The Altova MissionKit is a suite of intelligent XML tools, including:
XMLSpy® – industry-leading XML editor
- Support for all XML-based technologies
- Graphical editing views, powerful debuggers, code generation, & more
MapForce® – graphical data mapping tool
- Drag-and-drop data conversion with code generation
- Support for XML, DBs, EDI, Excel® 2007, text, Web services
StyleVision® – visual stylesheet designer
- Drag-and-drop stylesheet design for XML & databases
- Output to HTML, PDF, RTF, Word 2007, & more
And more…
Try before you buy with a free fully functional 30-day trial
Download today
|