How to Change the Time and Date on Your Computer in Windows 11 and 10

It’s important to have the correct time and date on your computer. A wrong clock isn’t just a nuisance, it can stop websites loading, upset Windows Update and backups, and give your files the wrong date stamp.

In this easy to follow guide, I’ll show you how to change the time and date on your computer or laptop in Windows 11 and Windows 10. I’ll also show you how to fix the time zone, how to set the clock by hand when the automatic setting won’t work, and what it means when your PC keeps forgetting the time.

The Short Version

  1. Right-click the clock on the taskbar and click Adjust date and time.
  2. Make sure Set time automatically is on, then click Sync now.
  3. If the time is still wrong, check the Time zone is right for where you are.
  4. To set it by hand, turn off Set time automatically and click Change next to Set the date and time manually.

How to Change the Date and Time on a Computer

To change the date and time on your computer, right-click the clock at the right-hand end of the taskbar. That opens a small menu.

In Windows 11, click Adjust date and time.

In Windows 10, click Adjust date/time.

Adjust date and time marked on the menu after right-clicking the clock in Windows 11.
In Windows 11, right-click the clock and then click Adjust date and time.
The taskbar clock menu open in Windows 10 with Adjust date/time highlighted.
In Windows 10, right-click the clock and then click Adjust date/time.

You can also get there from the Start menu. Open Settings, click Time & language and then Date & time.

Sync Now to Set the Correct Time Automatically

The Date & time settings open in both versions of Windows. This is where you set the time on your computer.

First, make sure Set time automatically is switched on. Windows then keeps your clock right by checking it against an internet time server, which is time.windows.com unless you’ve changed it.

To fix the time straight away, click the Sync now button. In Windows 11 it’s under Additional settings, a little further down the page. Your computer checks the time with the server and corrects it if it needs to.

The Sync now button indicated on the Date and time page in Windows 11.
Click Sync now in Windows 11.
The Sync now button indicated on the Date and time page in Windows 10.
Click Sync now in Windows 10.

Sync now needs an internet connection. If it doesn’t fix the time, see the Troubleshooting section further down.

Check Your Time Zone

If the time zone is wrong, your PC will keep showing the wrong time no matter how often you sync it. That can happen if you’ve travelled with a laptop, or if Windows simply guessed wrong.

If Set time zone automatically is on, Windows works out your time zone from your location. To choose it yourself, switch that setting off, then pick the right time zone from the Time zone drop-down list.

The Time zone drop-down list highlighted on the Date and time page in Windows 11.
Change your time zone in Windows 11.
The Time zone drop-down list highlighted on the Date and time page in Windows 10.
Change your time zone in Windows 10.

Pick the time zone that names your country or city, not just the right number of hours. In the UK, for example, choose (UTC+00:00) Dublin, Edinburgh, Lisbon, London. In the US, choose the one for your area, such as (UTC-05:00) Eastern Time (US & Canada).

Quick Tip

Don’t pick Coordinated Universal Time if you live in the UK. It looks right in winter, but it never changes for British Summer Time, so your clock will be an hour behind all summer.

While you’re there, make sure Adjust for daylight saving time automatically is switched on, so the clocks go forward and back by themselves.

After changing your time zone, click Sync now again to make sure the date and time are set correctly.

How to Set the Date and Time Manually

Sometimes the Sync now button won’t work, or at least it won’t work properly. In the past I’ve had problems with computers where the time or date is a long way out, and Sync now just doesn’t correct it.

In that case, you’ll need to set the date and time manually. It’s also the way to do it if your computer isn’t connected to the internet.

  1. Click the switch beside Set time automatically to turn it off.
  2. Click the Change button next to Set the date and time manually.
  3. Use the drop-down menus to set the correct date and time.
  4. Click Change to save it.
The Change button to set the date and time manually marked in Windows 11.
Click Change in Windows 11.
The Change button to set the date and time manually marked in Windows 10.
Click Change in Windows 10.
The Change date and time window with drop-down menus for the date and time.
Manually set the time and date.

Once the clock is close to the right time, I’d recommend turning Set time automatically back on and clicking Sync now. Windows can then keep it accurate for you.

Problems a Wrong Clock Causes

A computer clock that’s out by a few minutes doesn’t matter much. One that’s out by hours, days or years causes problems that don’t look like a clock problem at all.

Your Clock Is Behind (or Ahead) in Chrome and Edge

Websites use security certificates with start and end dates. If your computer’s date is wrong, perfectly good websites look like they have expired certificates, and your browser refuses to open them.

In Chrome and Edge you’ll see a message saying Your clock is behind or Your clock is ahead, often with the code NET::ERR_CERT_DATE_INVALID. Correct the date and time on your PC and the websites will open again.

Windows Update, Sign-Ins and Backups

A wrong date can also stop Windows Update working, cause problems signing in to your Microsoft account, and confuse backups that rely on knowing which files are newest. Files you save get the wrong date stamp too.

So if your computer is playing up for no obvious reason, it’s worth a quick glance at the clock.

Troubleshooting

Sync Now Doesn’t Fix the Time

First, check you’re connected to the internet. Then try these, in this order.

Set it close by hand first. If the date is a long way out, set the date and time manually so they’re nearly right, then turn Set time automatically back on and click Sync now.

Try a different time server. Press Windows key + R, type timedate.cpl and press Enter. On the Internet Time tab, click Change settings, choose time.nist.gov from the Server list, click Update now and then OK.

The Internet Time Settings box with time.nist.gov chosen as the server and the Update now button.
Switching to a different time server.

Restart the Windows Time service. Click Start, type services and open Services. Find Windows Time in the list, right-click it and click Restart, or Start if it isn’t running.

Force a sync with a command. Right-click the Start button and click Terminal (Admin). In Windows 10 it’s Windows PowerShell (Admin). Type this and press Enter:

w32tm /resync

The Time Is Exactly One Hour Out

That’s almost always daylight saving time. Check that Adjust for daylight saving time automatically is on, and that your time zone names your country rather than just showing UTC.

The Time Zone Option Is Greyed Out

The Time zone list is greyed out while Set time zone automatically is on. Switch that off and you can choose your time zone yourself.

If Set time zone automatically is greyed out as well, Windows can’t use your location. Go to Settings, Privacy & security, Location and turn on Location services, or simply set the time zone by hand.

The Change Button Is Greyed Out

You can’t set the time by hand while Set time automatically is on. Switch it off first.

Changing the date and time also needs an administrator account. If you’re signed in with a standard account, the option may not be available. My guide to Windows user accounts explains the difference.

The Time Keeps Changing by Itself

If your time zone keeps jumping, Windows is getting your location wrong. A VPN can do this, because it makes your computer look like it’s somewhere else. Turn off Set time zone automatically and pick your time zone yourself.

PC Keeps Showing the Wrong Date and Time

If your computer always seems to have the wrong date or time when you switch it on, it’s probably down to the CMOS battery.

Every PC has a small battery on the motherboard, a watch type button battery, that keeps the clock running and remembers essential settings while the computer is turned off. You can see where it sits in my guide to what’s inside a computer.

Signs that the CMOS battery has died:

  • The clock goes back to the same old date every time you start the computer
  • You see a message about the CMOS, or the time of day not being set, when the PC starts
  • The time is only wrong after the computer has been switched off at the wall

If your PC is online with Set time automatically on, Windows often corrects the clock a few moments after it starts, so you might only notice the wrong time briefly.

The fix is to replace the battery. In most desktop PCs it’s a CR2032 coin cell that costs very little and clips into a holder on the motherboard. After fitting the new one, set the date and time again.

Quick Tip

In laptops the battery is often tucked away under other parts. If you’d rather not take your laptop apart, a repair shop can swap it quickly. My guide on protecting your data before sending a PC for repair is worth a read first.

Show Seconds on the Taskbar Clock

While you’re on the Date & time page in Windows 11, you can also add seconds to the clock on your taskbar.

  1. Open Settings, Time & language, Date & time.
  2. Click Show time and date in the System tray to open it.
  3. Tick Show seconds in system tray clock.

Windows warns that showing seconds uses a little more power, so it’s worth leaving off on a laptop running on battery.

 The Show seconds in system tray clock tick box on the Date and time page in Windows 11.
Add seconds to the taskbar clock.

Frequently Asked Questions

Q: Why is my computer clock wrong?
A: The usual causes are the wrong time zone, Set time automatically being switched off, or a dead CMOS battery if the time is wrong every time you switch on.

Q: How do I make my computer set the time automatically?
A: Right-click the clock, click Adjust date and time, switch on Set time automatically and click Sync now.

Q: How do I change the time on a laptop?
A: Exactly the same way as on a desktop PC. Right-click the clock on the taskbar and click Adjust date and time.

Q: Why is my computer clock one hour out?
A: It’s nearly always daylight saving time. Check that Adjust for daylight saving time automatically is on and that your time zone names your country.

Q: Can I set my computer to an earlier date?
A: Yes. Turn off Set time automatically and use the Change button to pick any date. Some websites won’t open while the date is wrong, so turn Set time automatically back on when you’ve finished.

Q: Do I need to be an administrator to change the time?
A: Yes, changing the date and time needs an administrator account.

Q: What time server does Windows use?
A: Windows uses time.windows.com by default. You can switch to another server, such as time.nist.gov, if it won’t sync.

Q: How do I know if my CMOS battery is dead?
A: The clock goes back to the same old date every time you start the computer, or you see a CMOS message when it starts up.

Summary

Changing the time and date on your computer only takes a minute. Right-click the clock, click Adjust date and time, make sure Set time automatically is on and click Sync now. If that doesn’t fix it, check your time zone or set the time by hand.

Computers get into a huge muddle if they have the wrong date and time. So if you’re having problems with your computer, it’s worth having a quick glance at the clock. It could really be as simple a fix as that.

If you’re new to Windows, my free Beginner Course takes you through the basics one step at a time.

What’s Inside a Computer?
A look at the parts inside your PC, including the motherboard where the CMOS battery lives.

Stop Your Computer From Going to Sleep Too Quickly
Change how long your PC waits before the screen turns off or it goes to sleep.

How to Update Windows
Keep Windows up to date and fix updates that won’t install.

Publisher has gone from Microsoft 365 and Office 2024.

A Publisher file being converted to a PDF and a Word document.

How to open your .pub files without it, save them as PDF and get them into Word, free, with or without Publisher.

You can find this and other related step by step guides in – At Home Computer Guides

Written by Jeff Porter. I’ve been fixing Windows PCs since 2010 and I’m CompTIA Network+ certified. More about me

Scroll to Top