PersianCalendar::GetEra Method (DateTime)
.NET Framework (current version)
Returns the era in the specified DateTime object.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- time
-
Type:
System::DateTime
The DateTime to read.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The time parameter represents a date less than MinSupportedDateTime or greater than MaxSupportedDateTime. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 5.0
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 5.0
Show: