Download Print this page

Radio Shack TRS-80 Model II Reference Manual page 52

Disk operating system
Hide thumbs Also See for TRS-80 Model II:

Advertisement

Library Commands
DATE
Reset or Get Today's Date
This command lets you reset the date or display the date and time.
The operator sets the date initially when
TRSDOS
is started up. After that,
TRSDOS
updates the time and date automatically, using its built-in clock and
calendar. You can enter any four-digit year after 1599.
When you request the date,
TRSDOS
displays it in the format:
THU JUL 19 1979 200 -- 14.15.31
for Thursday, July 19, 1979, the 200th day of the year, 2:15:31pm.
Note: If the time passes 23.59.59,
TRSDOS
does not start over at 00.00.00.
Instead, it continues with 24.00.00. However, the next time you use the
TIME
or
DATE
command, the time will be converted to its correct 24-hour value,
and the date will be updated.
If
you let the clock run past 59.59.59, it will
recycle to 00.00.00, and the date will not be updated to include the 60-hour
period.
Examples
DATE
Displays the current date and time.
DATE 07/ lEl/1979
Resets the date to July 18, 1979, and displays the new information.
85

Advertisement

loading