DateTimeFormatInfo: GetEra

GetEra

Returns the numeric era value based on the name provided.



 Public Function GetEra(
	  ByRef eraName As String ) As Long

Parameters

eraName
[ByRef] String. The name of the era to retrieve the numeric value for.

Return Values

Long -  The numeric value for the era.

Remarks

This method is not fully implemented. It will return 1 for all era names and cultures.

See Also

Project VBCorLib Overview Class DateTimeFormatInfo Overview DateTimeFormatInfo Properties DateTimeFormatInfo Methods GetDayName GetEraName