Features
      Ask DevGuru
      ASP Resources
      Find the Bug
      Knowledge Base
      Links
      Tips of the Week
      Tutorials
  Products
      dgCalendar
      dgCharge New!
      dgChart New!
      dgFileUpload
      dgReport New!
      dgSort
      dgTree
  Site
      Authoring
      Coming Soon
      DevGuru Resume
      Link to Us
      Merchandise
      Sponsorships
      Testimonials
      What's New
  Technologies
      ADO 2.6
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      Transact-SQL Syntax
      VBScript
      WML
      WMLScript
      WSH
      XML DOM

              











FUNCTION:  MonthName( )

Implemented in version 2.0
 
MonthName(Month, Abbreviate)
 
The MonthName function returns the name of the month.
 
There is one mandatory argument.
 
Month
 
The Month argument is the number of the month (i.e., 1 throught 12).
 
Code:
<% =MonthName(6) %>
 
Output:
June
 
There is one optional argument.
 
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.
 
If set to True, the name will be abbreviated. If set to False the name will not be abbreviated.
 
Code:
<% =MonthName(6, True) %>
 
Output:
Jun


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information