|
TIME
Show the system time and alows you to change it.
Syntax
time [/t] [/time] [hours:[minutes[:seconds[.hundredths]]][{A|P}]]
Parameters
/t : Displays the current system time, without prompting
you to enter a new time.
/time : Same as /t.
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.
Type with no parameters to change the time, enter TIME/t to
show the time without propmting the change. You may also
enter TIME followed by a new time, but it must be the full
time including seconds, mircoseconds and am or pm.
Example: TIME 12:30:00.00 PM.
To set your computer clock to 1:36 P.M., type either of the
following commands:
TIME 1:36P
Batch File Commands
|