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 CorLib Overview

Class DateTimeFormatInfo Overview