Where to find the date and time settings

The quickest way to change your computer's date is through the system clock in the bottom right corner of your screen (Windows) or top right (Mac). Click or tap it once, and a menu appears with the current date and time. From there, you can usually adjust both without opening any deeper settings.

If that menu doesn't let you edit the date directly, or if you need more control, you'll go into the full settings panel. On Windows 11, right-click the clock and select "Adjust date and time." On Windows 10, open Settings, go to Time & Language, then Date & Time. On a Mac, open System Settings (or System Preferences on older versions), then go to General > Date & Time.

Key Takeaways

  • The fastest way is to click the system clock in your taskbar or menu bar and adjust the date directly from the popup menu.
  • If your computer is set to sync time automatically with the internet, you may need to turn that off before you can manually change the date.
  • Windows and Mac both store dates in a 24-hour format internally, but you can display them in 12-hour or 24-hour format in your settings.
  • Changing the date affects system files, scheduled tasks, and file timestamps, so only do it if you have a specific reason.

Turning off automatic time sync

Most computers are set to update the date and time automatically by connecting to an internet time server. This is why you might click the date field and find it's locked or grayed out. To change the date manually, you need to turn off this automatic sync first.

On Windows, open Date & Time settings and look for a toggle labeled "Set time automatically." Turn it off. On a Mac, open Date & Time settings and uncheck "Set date and time automatically." Once you've disabled it, the date and time fields become editable, and you can type in the values you want.

Manually entering a new date

After you've turned off automatic sync, click or tap the date field. A calendar picker usually appears, or you may see a text field where you can type the date directly. The format varies by region and your system language—it might be MM/DD/YYYY, DD/MM/YYYY, or another order. Type or select the date you need.

Some systems let you click forward and backward through months with arrow buttons. Others show a full calendar where you can click the day you want. Once you've selected the date, click "explore" or "OK" to save the change. The system clock updates when ready.

Changing the time of day

The time field works the same way as the date field. Click it, and you'll see either a text input or a time picker with hour and minute controls. Type or adjust the hours and minutes you need. Most systems use 24-hour format internally (so 2 p.m. is 14:00), but you can usually choose to display it in 12-hour format with AM/PM in your regional settings.

After you've set both the date and time, click "explore" or "OK." Your computer saves the change and updates the system clock. Any programs running in the background will see the new time when ready, which is why changing the system time can affect scheduled tasks or time-sensitive operations.

What happens when you change the date

Changing your computer's date affects more than just the clock display. File timestamps update based on the system date—if you create a document after changing the date backward, that file will show an earlier creation date. Scheduled tasks, reminders, and calendar events may behave unexpectedly if the system date doesn't match the real date. Some programs that check licensing or subscription status may also act strangely.

For these reasons, change the date only if you have a specific reason—for instance, if your computer's internal clock battery has failed and the date reset to a default value, or if you're testing software that depends on a particular date. Once you've finished, turn automatic time sync back on so your computer stays accurate.

Turning automatic sync back on

After you've made your manual changes, go back into Date & Time settings and re-enable automatic time sync. On Windows, toggle "Set time automatically" back on. On a Mac, check "Set date and time automatically" again. Your computer will contact an internet time server and correct the date and time to match the real world.

This usually happens within a few minutes. If your computer is offline, it won't sync until it connects to the internet. Once sync is on, you won't be able to manually edit the date and time again unless you turn it off—which is the intended behavior, since it prevents accidental changes.

When your computer's date keeps resetting

If you change the date but it resets to an incorrect value every time you restart, your computer's internal clock battery may be failing. This battery keeps the date and time running even when the computer is powered off. A failing battery is a hardware issue that requires opening the computer or taking it to a technician.

Until you can replace the battery, you can turn off automatic sync and manually set the date each time you start up. However, this is a temporary workaround. If your computer is under warranty or relatively new, contact the manufacturer or a repair shop to have the battery replaced.

Frequently Asked Questions

Why is my date and time field locked or grayed out?

Your computer is set to sync time automatically with the internet. Open Date & Time settings and turn off the automatic sync toggle. The fields will become editable. Remember to turn it back on when you're done making changes.

Can I change just the date without changing the time?

Yes. The date and time fields are separate. Click the date field, make your change, and leave the time field alone. Click "explore" or "OK" to save. The time will stay the same.

What if I change the date and my files disappear?

Your files haven't disappeared—they're still on your hard drive. The file system may just be sorting or displaying them differently based on the new date. Turn automatic sync back on so the system date matches reality, and your files should appear in their normal order again.

Does changing the date affect my internet connection?

No. Changing the system date doesn't break your internet connection. However, some websites or services may behave oddly if your computer's date is very far off from the real date, because they check the date for security reasons.

Can I set the date to any year I want?

Yes, most systems let you set the date to any year within a wide range. However, setting it to a year far in the past or future can cause unexpected behavior in some programs. Set it to a date close to the real date unless you have a specific reason to do otherwise.