TIME
Displays the system time or sets your computer's internal clock.
MS-DOS uses time information to update the directory whenever you create or
change a file.
Syntax
TIME [hours:[minutes[:seconds[.hundredths]]][A|P]]
To display the current time or to display a prompt by which you can change
the current time, use the following syntax:
TIME
Parameters
hours
Specifies the hour. Valid values are in the range 0 through 23.
minutes
Specifies minutes. Valid values are in the range 0 through 59.
seconds
Specifies seconds. Valid values are in the range 0 through 59.
hundredths
Specifies hundredths of a second. Valid values are in the range 0
through 99.
A|P
Specifies A.M or P.M. for the 12-hour time format. If you type a valid
12-hour time but do not type A or P, TIME uses A (for A.M.).
Related Commands
For information about changing the current date, see the <DATE> command.
For information about changing the time format, see the <COUNTRY> command.
|