Configuration Settings with Numbers or Symbols
2DIGITYEARS
2DIGITYEARS allows DataFlex dates to be interpreted as either two or four digit years.
2DIGITYEARS = 0 | Data flex uses all four digits of the year. |
2DIGITYEARS = 1 | DataFlex uses the last two digits of the year. |
Default - 2DIGITYEARS = 1.
CAUTION:
If the DataFlex date is earlier than 1900, set 2DigitYears = 0. Otherwise there will be unpredictable date results.
Examples
If 2DIGITYEARS = 1 and year = 1955, DataFlex uses 55 as the year.
If 2DIGITYEARS = 1 and year = 2010, DataFlex uses 10 as the year.
If 2DIGITYEARS = 0 and year = 1955, DataFlex uses 1955 as the year.
If 2DIGITYEARS = 0 and year = 2010, DataFlex uses 2010 as the year.
Environments - Client, Windows, Linux, DataFlex.
Configuration Manager - CONNX Settings; Current Key = CONNX\Dataflex; Key Value/Value Name = 2DIGITYEARS
Unix SQL Registry: CONNX.DATAFLEX.2DIGITYEARS