Returns the date and time converted to a DateTime value. This value is the upper boundary of a 100-year range that allows a two-digit year to be properly translated to a four-digit year.
[Visual Basic] Overridable Public ReadOnly Property TwoDigitYearMax As Integer [C#] public int TwoDigitYearMax {override get;} [C++] public: __property virtual int get_TwoDigitYearMax(); [JScript] public function get TwoDigitYearMax() : int;
Read-only. Retrieves the maximum value to represent a two-digit year.
If 2029 is the upper boundary, a two-digit value of 30 should be interpreted as 1930 while a two digit value of 29 should be interpreted as 2029. In this example, the 100-year range would be from 1930-2029.
GregorianCalendar Class | GregorianCalendar Members | System.Globalization Namespace