MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Rendering.RenderingTree.Tools Namespace / DateTimeExtension Class / GetQuarterName Method
The date for which to get the quarter name.
The culture to use for the quarter name. If null, the quarter number is returned.

In This Topic
GetQuarterName Method
In This Topic
Gets the name of the quarter for the specified date and culture.
Syntax
'Declaration
 
Public Shared Function GetQuarterName( _
   ByVal date As Date, _
   Optional ByVal culture As CultureInfo _
) As String
 

Parameters

date
The date for which to get the quarter name.
culture
The culture to use for the quarter name. If null, the quarter number is returned.

Return Value

The name of the quarter, or the quarter number as a string if the culture is not specified or not supported.
See Also