| 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: | TIME$ |
| Length: | 11 |
| Description: |
The system variable named TIME$ contains the current system time.
This variable is an 11-byte string in the format "HH:MM:SS.DD",
where "HH" represents the hour in 24-hour format, "MM" represents
the minute from 0 to 60, "SS" represents the second from 0 to 60,
and "DD" represents the hundredths of a second from 0 to 99.
Even though all Comet systems have a clock, TIME$ is not updated until the clock is opened and read. The name usually configured for the clock is CL1 (although an alternative name can be chosen during system configuration). |