MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / MonthName Method
Required. Integer. The numeric designation of the month, from 1 through 13; 1 indicates January and 12 indicates December. You can use the value 13 with a 13-month calendar. If your system is using a 12-month calendar and month is 13, MonthName returns an empty string.
Optional. Boolean value that indicates if the month name is to be abbreviated. If omitted, the default is False, which means the month name is not abbreviated.

In This Topic
MonthName Method
In This Topic
Returns a String value containing the name of the specified month.
Syntax
'Declaration
 
Public Shared Function MonthName( _
   ByVal month As Integer, _
   Optional ByVal abbreviate As Boolean _
) As String
 

Parameters

month
Required. Integer. The numeric designation of the month, from 1 through 13; 1 indicates January and 12 indicates December. You can use the value 13 with a 13-month calendar. If your system is using a 12-month calendar and month is 13, MonthName returns an empty string.
abbreviate
Optional. Boolean value that indicates if the month name is to be abbreviated. If omitted, the default is False, which means the month name is not abbreviated.

Return Value

Returns a String value containing the name of the specified month.
See Also