## DateTimeFormatInfo::GetEra method


Obtiene la era por nombre.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| era_name | const String\& | Nombre de la era. |

### ReturnValue

Índice de era.

## Ver también

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