ActiveReports 12
MonthName Method

GrapeCity.ActiveReports.v12 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.
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
public static string MonthName( 
   int month,
   bool abbreviate
)

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

Reference

DateAndTime Class
DateAndTime Members