|
|
||
| Purpose: | Display or set the current system time. |
| Format: | TIME [/S [server] /T /U] [hh [:mm:ss ]]] [AM | PM] |
| hh | The hour (0 - 23) |
| mm | The minute (0 - 59) |
| ss | The second (0 - 59) |
See also: DATE.
Usage:
If you don't enter any parameters, TIME will display the current system time and prompt you for a new time. Press Enter if you don't wish to change the time; otherwise, enter the new time:
[c:\] time
Thu Aug 18, 2011 9:30:06
Enter new date (mm-dd-yy):
TIME defaults to 24-hour format, but you can optionally enter the time in 12-hour format by appending a, am, p, or pm to the time you enter. For example, to enter the time as 9:30 am:
time 9:30 am
Options:
| /S server | Sets the date and time from the specified internet time server. If no server is specified, TIME uses the server defined in the Time Server configuration option (the default is clock.psu.edu). |
| /T | Displays the current time but does not prompt you for a new time. You cannot specify a new time on the command line with /T. If you do, the new time will be ignored. |