EPOCH Subcommand (SET command)

EPOCH defines the 100-year-span dates that are entered with two-digit years and date functions with a two-digit year specification.

AUTOMATIC. 100-year span beginning 69 years prior to the current date and ending 30 years after the current date.

begin year. First year of the 100-year span.

Examples

SET EPOCH=1900.
  • All dates that are entered with two-digit year values are read as years between 1900 and 1999. For example, a date that is entered as 10/29/87 is read as 10/29/1987.
    SET EPOCH=1980.
  • Dates that are entered with two-digit year values between 80 and 99 are read as years between 1980 and 1999.
  • Dates that are entered with two-digit year values between 00 and 79 are read as years between 2000 and 2079.