Displays or sets the system time.
$ time /t 03:17 PM
Another way to display time:
$ echo %TIME% 15:19:07.02
Setting time (requires administrator privileges):
$ time 3:30 $ time 8:23 am
$ time /? Displays or sets the system time. TIME [/T | time] Type TIME with no parameters to display the current time setting and a prompt for a new one. Press ENTER to keep the same time. If Command Extensions are enabled the TIME command supports the /T switch which tells the command to just output the current time, without prompting for a new time.
Table Of Contents