Icon TwoDigitYearCenturyWindow Property

property TwoDigitYearCenturyWindow: Integer

Available In: Client and Server Applications

Specifies what century is added to two-digit years when date literals are converted to DateTime values. This property is subtracted from the current year to determine the pivot year. Two digit years that are prior to the pivot year are interpreted as falling in the next century. The default value is 50.
Image