The description below is from the book DOS the
Easy Way by Everett Murdock Ph.D.
for information about downloading the book.
Type: Internal (1.0 and later)
Purpose: Displays current time setting of system clock and
way for you to reset the time.
You can enter the TIME command alone and the program will prompt you when
enter the time. You can also enter the time at the same time you enter
command. Either way, you must enter the time in the following
where hh is a one or two digit hours designation, mm is a one or two
designation of minutes after the hour, ss is a one or two digit
seconds after the minute, and cc is a one or two digit designation of the
hundredths of a second past the second. The following numbers are
hh 0-23 for hours
mm 0-59 for minutes
ss 0-59 for seconds
cc 0-99 for hundredths of seconds
A|P A.M. or P.M. (default is A.M.)
Only the hour setting and the minute setting are required. The following
are allowable settings:
Your version of DOS may require slightly different forms of this entry
If you enter the TIME command without any time designation, the screen
Current time is hh:mm:ss
Enter new time:__
You can enter a new time or press the Enter key to leave the time setting
as it is.
If DOS carries out a time-dependent function (such as time-stamping a
storage on a disk), the system time (based on the starting time you set)
used. On some computers the system time is maintained by a
system; in this case, you will rarely use the TIME command (you can stop
initial presentation of both the DATE and TIME prompts by creating any
AUTOEXEC.BAT file that does not include these commands). Other computers
the system time whenever the computer is turned off. In this case, it
reset each time the computer is restarted.
For more information about the TIME command, see Chapter 2,
Using Common DOS Commands, in the downloadable book DOS the Easy Way.