Microsoft KB Archive/39254

COBOL 2.x Does Not Return Correct Dates Past 12-12-1999

PSS ID Number: Q39254 Article last modified on 04-20-1993

2.00 2.10 2.20 MS-DOS

Summary: When using ACCEPT FROM DATE, COBOL Versions 2.0, 2.1, and 2.2 do not return an accurate date past 12-12-1999. COBOL Version 3.0 returns correct values up to 12-31-2099 which is the maximum date that can currently be set for DOS Versions 3.2 and 4.0. To see a code example of how to get the date using ACCEPT FROM DATE, query on “COBOL AND ACCEPT AND DATE” in the Microsoft Knowledge Base.

Additional reference words: 2.00 2.10 2.20 Copyright Microsoft Corporation 1993.