Change Time and Date on Windows: Full Guide
To change the time and date on Windows, open Settings > Time & Language > Date & Time, then turn off “Set time automatically” and click “Change” under “Set the date and time manually.” This works on Windows 10 and Windows 11, and you can also adjust time zone and format settings from the same screen.
Why You Might Need to Change It
Windows normally syncs your clock with internet time servers, so manual changes are rarely needed. But you may need to adjust it if:
- You travel to a different time zone and want the clock to show local time before Windows updates automatically.
- The automatic time sync fails, often due to a weak internet connection or a firewall blocking the time server.
- You have a dual-boot setup with another operating system, and the clocks keep shifting by hours.
- You’re testing software that depends on specific dates or times.
- Your computer’s CMOS battery is dying, causing the clock to reset every time you power off.
In most cases, the automatic settings work fine. But knowing how to override them gives you control when things go wrong or when you need a specific time for a task.
How to Change Time and Date (Windows 10 and 11)
The steps are nearly identical on both Windows 10 and Windows 11. Here’s the full process:
- Open the Settings app. You can press Windows + I on your keyboard.
- Click Time & Language (Windows 10) or Time & Language > Date & Time (Windows 11).
- Under “Set time automatically,” toggle the switch to Off. This unlocks the manual change option.
- Click Change under “Set the date and time manually.”
- Enter the correct date and time, then click Change.
If you only need to change the time zone, you don’t need to turn off automatic time. Just select your time zone from the dropdown under “Time zone.” Windows will adjust the displayed time accordingly.
Changing Time and Date via Control Panel
If you prefer the classic Control Panel, you can still change the clock there:
- Open Control Panel (search for it in the Start menu).
- Click Clock and Region, then Date and Time.
- In the Date and Time tab, click Change date and time…
- Adjust the date and time, then click OK.
This opens the same dialog that existed in older Windows versions. It’s still fully functional and some users find it faster than navigating through Settings.
How to Set Automatic Time Sync
If you want Windows to keep the clock accurate without manual input, make sure automatic time is enabled:
- Go to Settings > Time & Language > Date & Time.
- Turn on Set time automatically.
- Turn on Set time zone automatically (if you want Windows to detect your location).
Windows syncs with time.windows.com by default. If you want to change the server (for example, to one closer to you), you can do so through Control Panel:
- Open Control Panel > Clock and Region > Date and Time.
- Go to the Internet Time tab and click Change settings…
- Enter a server like
time.nist.govorpool.ntp.org. - Click Update now to sync immediately.
This is useful if your default server is blocked or unreachable.
Common Problems and Fixes
Sometimes the clock won’t change or keeps reverting. Here are typical issues and solutions:
- Clock resets after reboot: This usually means the CMOS battery is dead. Replace the small coin battery on your motherboard.
- Time is wrong by hours after dual-booting with Linux: Linux and Windows interpret the hardware clock differently. Set Linux to use local time, or set Windows to use UTC (via registry edit, which is advanced).
- Automatic time sync fails: Check your internet connection, temporarily disable your firewall, or try a different time server.
- Can’t change time because of administrator restrictions: You need administrator privileges. If you’re on a work or school device, contact your IT administrator.
- Time zone keeps changing: Turn off “Set time zone automatically” if you don’t want Windows to guess your location.
Changing Time and Date via Command Line
If you prefer the command prompt or need to script the change, you can use the date and time commands:
- Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)).
- Type
dateand press Enter to see the current date. To set it, typedate 12-31-2024(MM-DD-YYYY format) and press Enter. - Type
timeand press Enter. To set it, typetime 14:30(24-hour format) and press Enter.
This is handy for batch files or when you’re troubleshooting remotely.
Frequently Asked Questions
Why does my Windows clock keep changing by itself?
If automatic time and time zone are enabled, Windows updates the clock regularly. If it changes by hours unexpectedly, it’s likely a time zone issue or a dual-boot conflict. Check your time zone settings and disable automatic time zone if you’re in a fixed location.
Can I change the date format (e.g., from MM/DD/YYYY to DD/MM/YYYY)?
Yes. Go to Settings > Time & Language > Date & Time and click Change formats (Windows 10) or Language and region (Windows 11). You can pick a different format or customize it by clicking “Change formats” and selecting your preference.
What is the difference between changing the time zone and changing the time?
Time zone is a geographic offset from UTC. Changing the time zone shifts the displayed time without altering the underlying absolute time. Changing the time manually sets the clock to a specific value, which may not match your time zone’s correct time.
Why can’t I turn off “Set time automatically”?
Some Windows versions, especially in managed environments, disable this option for non-administrators. If you’re an admin and still can’t, your system may have a Group Policy that enforces automatic time. You can check with your IT department or edit Group Policy (gpedit.msc) if available.
Does changing the time affect my files’ timestamps?
Yes. When you create or modify a file, Windows stamps it with the current system time. If you change the clock, new files will have the new time. Existing files keep their original timestamps unless you explicitly change them.
How do I change the time on Windows if I don’t have internet?
You can still change it manually. Turn off “Set time automatically” and set the date and time by hand. The clock will run from your hardware clock, which may drift if it’s not synced, but it will work offline.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.