## DateTimeFormatInfo::GetEra method


Hämtar era efter namn.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| era_name | const String\& | Eranamn. |

### ReturnValue

Era-index.

## Se även

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