COBOL85 Compatible Time and Date Procedures

You can use the following procedures and functions to provide time and date functionality identical to the similar procedures found in the COBOL85 compiler. 

  • CURRENT_DATE

  • DATE_OF_INTEGER

  • INTEGER_OF_DATE

  • INTEGER_OF_TIME

  • TIME_OF_INTEGER

The system provides a system library, SLICESUPPORT, that contains procedures for implementing these functions in COBOL85. To call these library procedures, an ALGOL program should first include a file provided by Unisys that declares all the library procedures. This file is called *SYMBOL/INTL/ALGOL/PROPERTIES. The procedures can then be used in the program. The method for including *SYMBOL/INTL/ALGOL/PROPERTIES in your ALGOL program is described in each of the procedures detailed later in this sub-section. If the file is not included, any library procedure that is used must be declared individually in the program.