Export (0) Print
Expand All

PersianCalendar::MaxSupportedDateTime Property

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

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

public:
virtual property DateTime MaxSupportedDateTime {
	DateTime get () override;
}

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 RC, 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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft