| Introduction | MTB Statements | File System | Compiler | Applications | Reference Guide | Index |
| Language Structure | Data Division | I/O Format Division | Procedure Division | Mnemonics |
| Overview | Variable Names | Variable Types | Variable Length | Variable Classification | Data Division Statements | System Variables |
| System variable: | DATE |
| Length/precision: | 6.0 |
| Description: | The system variable named DATE is loaded with the DOS date when Comet is executed. While the value of DATE may be changed in an MTB program, it is automatically refreshed with the DOS date whenever the clock is read. DATE is a six-digit numeric field in the form MMDDYY, where MM represents the month, DD represents the day, and YY represents the last two digits of the current year. |
| System variable: | DATE$ |
| Length: | 6 |
| Description: | The system variable named DATE$ is loaded with the DOS date when Comet is executed. While the value of DATE$ may be changed in an MTB program, it is automatically refreshed with the DOS date whenever the clock is read. DATE$ is a six-byte string field in the form "MMDDYY", where MM represents the month, DD represents the day, and YY represents the last two digits of the current year. |