DateTimeFormatInfo: GetAbbreviatedEraName

GetAbbreviatedEraName

Returns the name of the Era specified.



 Public Function GetAbbreviatedEraName(
	  ByVal Era As Long ) As String

Parameters

Era
[ByVal] Long. The era to retrieve the name for.

Return Values

String -  The name of the era.

Remarks

Eras are identified by number. The gregorian calendar has two era, BC and AD. Only AD is recognized in this case by a number 1.

This feature is not fully implemented. It will only return AD' regardless of the culture.

See Also

Project VBCorLib Overview Class DateTimeFormatInfo Overview DateTimeFormatInfo Properties DateTimeFormatInfo Methods GetAbbreviatedDayName GetAbbreviatedMonthName