|This property is obsolete. See the Remarks section below.|
This property is used by methods of the
Utilities object for converting strings to date and time values. To be more specific, the variable is used to convert strings that hold years in the two-digit format. In this case, the converting routines (
StrToDateTime) subtract the
TwoDigitYearCenturyWindow value from the current year and then use the resulting number as the base for determining the century to which the two-digit-year date belongs. For instance, if the string to be converted is “5/01/09”, the current year is 1998 and
TwoDigitYearCenturyWindow is 100, the resultant date will be January, 5, 1909. If
TwoDigitYearCenturyWindow is 40, the resultant date will be January, 5, 2009.
The property is applied to the following object:
The integer value used to convert strings to date and time values. The default value of
TwoDigitYearCenturyWindow is 50.
This property is obsolete and supported for backward compatibility only. The value of this property is used by obsolete methods of the Utilities object. To convert strings, use the methods of the