Microsoft DOS time command
Quick links
About time
Availability
Syntax
Examples
About time
Allows the user to view and edit the computer's time.
Availability
The time command is an internal command that is available in the below Microsoft operating systems.
All Versions of MS-DOS
Windows 95
Windows 98
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7
Syntax
Displays or sets the system time.
TIME [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.
Examples
See the System Time
c:\> time
The current time is : 21:44.00.23
Sets the System Time
time 10:00
Set the time to 10:00 |