How to Change the Computer Time and Date Using the Command Prompt

Open the Start menu., Type command prompt into Start., Right-click Command Prompt., Click Run as administrator., Click Yes when prompted., Type time into Command Prompt., Enter your desired time in HH:MM:SS AM/PM format., Press ↵ Enter, then look at...

13 Steps 2 min read Medium

Step-by-Step Guide

  1. Step 1: Open the Start menu.

    To do so, either click the Windows logo in the bottom-left corner of the screen, or press the ⊞ Win key.

    On Windows 8, you'll instead hover your mouse in the top-right corner of the screen, then click the magnifying glass icon.
  2. Step 2: Type command prompt into Start.

    This will bring up the Command Prompt icon at the top of the Start window. , It's a black box at the top of the Start window.

    Doing so invokes a drop-down menu.

    If you're on a computer that doesn't have right/left mouse buttons, tap the trackpad with two fingers instead. , It's at the top of the drop-down menu.

    You can't change your computer's time and date without administrator privileges. , Command Prompt will open with your cursor ready to type. , Be sure to leave a space after the word "time"

    since the time-stamp must be separate from the command. , For example: 5:30 PM would be written as time 05:30:00 PM 3:30 and 30 seconds AM would be written as time 03:30:30 AM. , The clock is in the bottom-right corner of your computer's taskbar.

    You should see the time change almost immediately. , Again, leave a space after "date" for the time-stamp. , For example:
    January 7th, 2003 would be written as date 01/07/2003.

    December 14th, 2017 would be written as date 12/14/2017. , The date is directly beneath the time in the bottom-right corner of the screen.

    It should reflect the date you just entered.
  3. Step 3: Right-click Command Prompt.

  4. Step 4: Click Run as administrator.

  5. Step 5: Click Yes when prompted.

  6. Step 6: Type time into Command Prompt.

  7. Step 7: Enter your desired time in HH:MM:SS AM/PM format.

  8. Step 8: Press ↵ Enter

  9. Step 9: then look at the clock.

  10. Step 10: Type date into Command Prompt.

  11. Step 11: Enter your desired date in MM/DD/YYYY format.

  12. Step 12: Press ↵ Enter

  13. Step 13: then look at the date.

Detailed Guide

To do so, either click the Windows logo in the bottom-left corner of the screen, or press the ⊞ Win key.

On Windows 8, you'll instead hover your mouse in the top-right corner of the screen, then click the magnifying glass icon.

This will bring up the Command Prompt icon at the top of the Start window. , It's a black box at the top of the Start window.

Doing so invokes a drop-down menu.

If you're on a computer that doesn't have right/left mouse buttons, tap the trackpad with two fingers instead. , It's at the top of the drop-down menu.

You can't change your computer's time and date without administrator privileges. , Command Prompt will open with your cursor ready to type. , Be sure to leave a space after the word "time"

since the time-stamp must be separate from the command. , For example: 5:30 PM would be written as time 05:30:00 PM 3:30 and 30 seconds AM would be written as time 03:30:30 AM. , The clock is in the bottom-right corner of your computer's taskbar.

You should see the time change almost immediately. , Again, leave a space after "date" for the time-stamp. , For example:
January 7th, 2003 would be written as date 01/07/2003.

December 14th, 2017 would be written as date 12/14/2017. , The date is directly beneath the time in the bottom-right corner of the screen.

It should reflect the date you just entered.

About the Author

J

Joan Bell

Enthusiastic about teaching home improvement techniques through clear, step-by-step guides.

50 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: