PersianCalendar.MaxSupportedDateTime Property

 

Gets the latest date and time supported by the PersianCalendar class.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

override MaxSupportedDateTime : DateTime with get

Property Value

Type: System.DateTime

The latest date and time supported by the PersianCalendar class. See the Remarks section for more information.

The value of the MaxSupportedDateTime property is the last moment of December 31, 9999 C.E. in the Gregorian calendar. In the .NET Framework 4.6, this value is equivalent to the 13th day of the 10th month of the year 9378 in the Persian calendar. In previous versions of the .NET Framework, it is equivalent to the 10th day of the 10th month of the year 9378 in the Persian calendar. For more information, see "The PersianCalendar class and .NET Framework versions" in the PersianCalendar topic.

9999 C.E. is equivalent to the year 9378 in the Persian calendar.

The following code example demonstrates the use of the MaxSupportedDateTime property.

No code example is currently available or this language may not be supported.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Silverlight
Available since 5.0
Return to top
Show: