## DateTimeFormatInfo::GetEraName method


Gets era name.

```cpp
String System::Globalization::DateTimeFormatInfo::GetEraName(int era) const
```


| Parameter | Type | Description |
| --- | --- | --- |
| era | int | Era to get name of. |

### ReturnValue

Era name.

## See Also

* Class [String](../../../system/string/)
* Class [DateTimeFormatInfo](../)
* Namespace [System::Globalization](../../)
* Library [Aspose.PUB for C++](../../../)
