TIME
Displays or sets the time.
TIME [/T | time]
Where:
/T
- Displays the current time (inhh.mm
format).time
- Specifies that the time should be set (inhh.mm
format).
Without any parameters, it displays the current time (in the format hh.mm.ss,cc
where hh
are the hours, mm
the minutes, ss
the seconds and cc
the hundredths of seconds) and asks to set it. Press Enter without writing anything to keep the same time.
Examples:
1. Display the current time:
time /t
2. Change the time to 10 PM:
time 22.00
Comments