By default, Windows will automatically set the date and time on your computer. However, you may end up traveling to another clock zone.
In such cases, manually change your date and time using the Windows Settings or Control Panel. Additionally, you can change the time of your system from Command Prompt and Powershell too.
From Settings
You can have easy access to changing your date and time manually from the Windows Settings. But you’ll need to turn off the automatic date and time first. The complete steps are,
- Press the Windows + I shortcut key to open Settings.
- Select Time & Language from the left pane and click Date & Time.
- Turn off the Set time automatically toggle switch at the top.
- Click Change from the Set the date and time manually tab below.
- Set your region’s date and time.
- Click Change to save changes.
Using Control Panel
Control Panel allows you to change the date and time by giving direct access to system settings and a few other clock features. To do so,
- Open Run using the Windows + R shortcut key.
- Type
control
and press Enter. - Select Clock and Region.
- On the next Windows, select Date and Time.
- Click the Change date and time UAC shield icon.
- Set your time and click OK to save changes.
Windows 10 and 11 clocks will have a 12-hour format by default. However, you can also change your time to a 24-hour format from Change date and time > Change calendar settings.
Using Command Prompt
Command prompt provides an easier and faster way to change the time of your computer. The steps are,
- Open Run using the Windows + R shortcut key.
- Type
cmd
, and press Ctrl + Shift + Enter to launch Command Prompt as administrator. - To set time in a 24-hour format, type,
time HH:MM
and press Enter. For example:time 2:50
ortime 15:25
- To set time in a 12-hour format, type
time HH:MM AM/PM
and press Enter. For example,time 2:50 AM
ortime 3:25 PM
.
Using PowerShell
You can also use the Powershell to change your computer’s time and date by entering the Set-Date
command. To do so,
- Open Run using the Windows + R shortcut key.
- Type
Powershell
and press Ctrl + Shift + Enter to open Powershell as administrator. - To set time in a 24-hour format, type
Set-Date -Date “HH:MM”
and pressEnter
. - To set time in a 12-hour format, type
Set- Date -Date “HH:MM AM/PM”
and pressEnter
. - The Powershell commands will automatically change your specified time.