ESB2DigitYr Global Variable
Different ways in which 1 & 2 Digit Years are handled in Str2Date and in the Date Edit Components.

Unit
QESBPCSGlobals

Declaration
ESB2DigitYr : TESB2DigitYr = edyCutOff;

Description
edyNone - Nothing is done, left to Delphi to handle.

edyCutOff - the ESB2DigitCutOff is used to decide which century the date lies in. If 1900 + Yr is less than ESB2DigitCutOff then it is assumed that 2000 + Yr is wanted, otherwise 1900 + Yr is used.

edyHistoric - assumes that the yr is this year or earlier.


HTML generated by Time2HELP
http://www.time2help.com