TIME-OF-DAY

This register stores the current time of day. TIME-OF-DAY can be used with a MOVE or DISPLAY statement.

Format

MOVE TIME-OF-DAY TO {dest-item} ...
DISPLAY TIME-OF-DAY [ UPON new-window ] ...  
DISPLAY TIME-OF-DAY [ UPON mnemonic-name ] ...

The value of TIME-OF-DAY is stored in the format "hhmmss", where "hh" is the hour, "mm" is the minute, and "ss" is the second, based on a 24-hour clock. For example, 5:30 p.m. is stored as "173000".

The DISPLAY output of TIME-OF-DAY is edited to include colons (":") as separators, so the displayed format is "hh:mm:ss". For example, 5:30 p.m. is displayed as "17:30:00".