TIME 
(time)
显示系统时间或设置计算机的内部时钟。 MS-DOS在创建或改变文件时使用时间信息更新目录。
TIME [hours:[minutes[:seconds[.hundredths]]][A|P]]
TIME [/T | 
time]
先显示当前时间,然后再改变当前时间,使用如下语法: 
hours             
 指定小时,合法值在0-23之间。 
minutes          
 指定分钟,合法值在0-59之间。 
seconds          
 指定秒,合法值在0-59之间。 
hundredths      
指定百分秒,合法值在0-99之间。 
A|P 为12小时格式指定A.M或P.M..若不输入A或P,则TIME使用A(A.M.)。
显示当前时间设置和输入新时间的提示,请键入不带参数的 TIME。要保留现有时间,请按 ENTER。
如果命令扩展名被启用,DATE 命令会支持 /T 命令行开关;该命令行开关告诉
命令只输出当前时间,但不提示输出新时间。
Displays or sets the 
date.
DATE [/T | 
date]
Type DATE without parameters to 
display the current date setting and a prompt for a new one.  Press ENTER to keep the same 
date.
If Command Extensions are enabled 
the DATE command supports the /T switch which tells the command to just output 
the current date, without prompting for a new date.
C:\Temp>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.