How to Display the Time With Milliseconds in the Command Prompt


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.

Related Searches


  • Photo Credit Ryan McVay/Photodisc/Getty Images
Promoted By Zergnet



Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!