How to Change Your Computer's Date and Time Using Command Prompt

Turn off automatic date and time

How to Change Your Computer's Date and Time Using Command Prompt Picture 1

Understand why this step is necessary. Although you can change the date and time on your computer using Command Prompt while automatic date and time are active, the computer will eventually reset the date and time to match the current date and time.

In some cases, the computer will automatically reset the time and date as soon as you close the Command Prompt.

How to Change Your Computer's Date and Time Using Command Prompt Picture 2

Open Start . Click the Windows logo in the lower left corner of the screen.

How to Change Your Computer's Date and Time Using Command Prompt Picture 3

Open Settings. Click the gear icon in the lower left corner of the Start window. The Settings window will appear.

How to Change Your Computer's Date and Time Using Command Prompt Picture 4

Click Time & Language . This option is in the middle of the Settings window.

How to Change Your Computer's Date and Time Using Command Prompt Picture 5

Click Date & time . This tab is located in the upper left of the window.

How to Change Your Computer's Date and Time Using Command Prompt Picture 6

Click the blue "Set time automatically" switch. The switch will turn gray, so Windows will no longer automatically set the date and time. At this point, you can freely change your computer's date and time in Command Prompt.

Change date and time

How to Change Your Computer's Date and Time Using Command Prompt Picture 7

Open Start . Click the Windows logo in the upper left corner of the screen. The Start menu will pop up.

How to Change Your Computer's Date and Time Using Command Prompt Picture 8

Find Command Prompt. Type command prompt, then wait for Command Prompt to appear at the top of the Start menu.

How to Change Your Computer's Date and Time Using Command Prompt Picture 9

Right-click Command Prompt at the top of the Start menu. A menu will drop down.

If the mouse you're using doesn't have a right mouse button, click the right side of the mouse or click with two fingers.

If your computer uses a trackpad instead of a mouse, press down on the trackpad with two fingers, or tap the bottom right of the trackpad.

How to Change Your Computer's Date and Time Using Command Prompt Picture 10

Click Run as administrator . This option is in the drop-down menu.

You must have administrator access to change the date and time on your computer.

How to Change Your Computer's Date and Time Using Command Prompt Picture 11

Click Yes when prompted to confirm that you want to open Command Prompt. The Command Prompt window will appear at this time.

How to Change Your Computer's Date and Time Using Command Prompt Picture 12

Change time. The command to change the time in Command Prompt is time HH:MM:SS AM/PM, where "HH:MM:SS" represents hours, minutes and seconds, and "AM/PM" is morning or evening time. To change the time on your computer, you need to enter the parameters into this command and then press ↵ Enter.

For example, if you type time 08:35:00 AMand press ↵ Enter, the time on your computer will change to 8:35 AM.

To change the time to 10:00 PM, enter time 10:00:00 PMand press ↵ Enter.

If you prefer to use 24-hour time, you can enter the desired hour (for example, 14:00:00in place of 2:00 PM), then enter the "AM" or "PM" tag.

How to Change Your Computer's Date and Time Using Command Prompt Picture 13

Change date. The date format you need to use in Command Prompt will depend on the country, but Command Prompt will display the format: type dateand press ↵ Enter, then enter the date you want to use in the format specified by Command Prompt ( for example: "dd-mm-yyyy" in Vietnam) and press ↵ Enter.

To change the date on your US computer to September 25, 2018, type dateand tap ↵ Enter, then type 09-25-2018and tap ↵ Enter.

If you want to adjust the date to October 12, 2018 on your computer in Vietnamese format, enter dateand press ↵ Enter, then enter 12-10-2018.

How to Change Your Computer's Date and Time Using Command Prompt Picture 14

Review the date and time on your computer. In the lower right corner of the screen, you'll see the updated date and time reflecting the current country's format.

If you use 24-hour time, the "AM" or "PM" tag will not appear here.

4 ★ | 2 Vote

May be interested

  • How to Change or Create Desktop Icons on WindowsPhoto of How to Change or Create Desktop Icons on Windows
    today's wikihow will show you how to change the icons that appear on your windows computer screen. you can change to another icon system, download it, or create your own icons. additionally, you can add your own custom shortcuts to your desktop, change the icons, and even remove the arrow on the shortcut icon.
  • How to Change Startup Program on Windows 7Photo of How to Change Startup Program on Windows 7
    the startup program is saved in a special folder on the hard drive, and runs automatically when windows starts. in windows 7, installing a startup program is similar to previous versions of windows. the article below will show you how to add or disable startup programs.
  • How to Fix Windows Computer Sound ErrorsPhoto of How to Fix Windows Computer Sound Errors
    sound errors are extremely common errors for computers running the windows operating system. normally, when using windows xp and windows 7 operating systems, you can easily fix the error by adjusting the settings or reinstalling the sound card. with a little patience and using a troubleshooter, you can fix the audio error yourself.
  • How to Fix Blue Screen Error on WindowsPhoto of How to Fix Blue Screen Error on Windows
    blue screen error or stop error, also known as blue screen of death (bsod) error, can cause unpleasant experiences. error messages almost never indicate what's wrong, and are often given randomly. following the instructions below can diagnose and repair errors that cause the blue screen of death.
  • How to Use Remote Desktop on Windows 7Photo of How to Use Remote Desktop on Windows 7
    today's tipsmake will show you how to enable and use remote desktop on two windows 7 computers. remote desktop is built into windows 7, this feature allows users to control one computer from another computer via a connection. internet connection. to use remote desktop, you need to enable the feature on the target computer and find the ip address of this computer, then you can connect to the target computer from another computer.
  • How to Use RegeditPhoto of How to Use Regedit
    today's tipsmake will show you how to open and use windows registry editor, the registry editor also known as 'regedit'. registry editor allows us to view and edit system files and programs that you cannot access otherwise. if you edit the registry incorrectly, your computer can be damaged, so it's best not to change anything in the registry if you don't know what to do with the registry.