All Windows-based computers include an internal clock that programs running on the system use to track and display time. An easy way to view the current time on your computer's clock is to look in the right-hand notification area of the desktop taskbar, but this clock doesn't display the time with seconds and milliseconds. If you require the exact time with milliseconds, view this by entering a short command into your computer's DOS, or Disk Operating System, Command Prompt tool.
Click "Start" on the desktop taskbar.
Type "Command Prompt" into the search field in the Start menu and press "Enter."
Double-click on "Command Prompt" in the "Programs" section of the search results. This launches the Command Prompt tool.
Type the following command into the prompt window: "echo. | time" -- without the quotes. On most computer keyboards, you'll get the vertical line key, also known as the "pipe" key, by pressing "Shift" and the "Backslash" key at the same time. This displays the current system time in hours, minutes, seconds and milliseconds.
Tips & Warnings
- Ensure that you type the full command in Step 4 into the Command Prompt. This includes the period after "echo," and a space between the period and the vertical line/pipe character.
- Photo Credit Ryan McVay/Photodisc/Getty Images