## DateTimeFormatInfo::GetEra method


Obtient l'ère par son nom.

```cpp
int System::Globalization::DateTimeFormatInfo::GetEra(const String &era_name) const
```


| Paramètre | Type | Description |
| --- | --- | --- |
| era_name | const String\& | Nom de l'ère. |

### ReturnValue

Index de l'ère.

## Voir aussi

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