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.
You should read it
- How to use the command history function in Command Prompt
- Add Command Prompt to Power User Menu on Windows 10
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- How to Make Command Prompt Appear at School
- 6 Best Command Prompt Alternatives for Windows
- How to use Xcopy command in Command Prompt
- Instructions for using Command Prompt
- All Frequency Restart, Shutdown, Remote Off ... with Command Prompt
- Windows prompt
- How to Customize the Font in Windows Command Prompt
- How to Unblock Command Prompt Anywhere
- How to Create a Custom Windows Command Prompt