How to change time in pc

The date and clock on your computer keep good time, but you might have to provide the correct date and time for your location. To set the date and time on your computer:

  1. Press the Windows key on your keyboard to display the taskbar if it isn’t visible.

    The Windows key has the Windows logo on it.

  2. Right-click the Date/Time display on the taskbar and then choose Adjust Date/Time from the shortcut menu.

    The Date and Time dialog box appears.

    How to change time in pc

  3. Click the Change Date and Time button.

    The Date and Time Settings dialog box appears.

  4. Enter a new time in the Time field.

    You can also use the up and down arrows next to that field to change the time.

  5. If you wish, click on a new date in the calendar display and then click OK.

    You can also change the time zone, if necessary.

  6. Click the Change Time Zone button, choose another option from the Time Zone drop-down list, and click OK.

    If you don’t want your computer to adjust for Daylight Saving Time, click Change Time Zone and click the Automatically Adjust Clock for Daylight Saving Time check box to turn this feature off.

  7. Click OK again.

    Clicking OK the second time applies the new settings and closes the dialog box.

About This Article

This article can be found in the category:

  • Basic Skills ,

Updated: 07/31/2022 by

How to change time in pc

This page contains steps on how to change the computer's date and time in the computer's operating system, or in the BIOS settings. It also describes how to change the date and time on a mobile device.

Tip

If you are using Windows on a virtual machine, change the date and time on the host machine, not the virtual machine. The virtual machine gets the current date and time information from the host.

Setting the date and time in BIOS or CMOS setup

  1. Open the CMOS setup.
  • How to enter and exit the BIOS or CMOS setup.
  1. In the system setup menu, locate the date and time.
  2. Using the arrow keys, navigate to the date or time, adjust them to your liking, and then select Save and Exit.

Note

If, after rebooting the computer the date and time have to be set again, your CMOS battery is most likely bad, consider replacing the CMOS battery. See: How to replace the CMOS battery.

Setting date and time in the operating system

To change the system time in your operating system, follow these steps.

Windows 10 and Windows 11

Note

Windows 10 and Windows 11 automatically adjusts the date and time for you and only lets you adjust the time if you disable this feature. If the wrong date and time are set, or you need to change the time or time zone, follow the steps below.

  1. Right-click or tap the date and time in the Windows Notification Area in the bottom-right corner of the screen.
  2. Click Adjust date and time.
  3. Make sure your Time zone is set properly if your computer is displaying the wrong time.
  4. To manually adjust the time, turn off the Set time automatically option, then click the Change button.
  5. Change the date or time as desired, then click the Change button.

Tip

There is no ability to add seconds to the time displayed in the Windows Notification Area on the Taskbar. However, if you click the date and time, a pop-up window opens and displays the time with seconds included.

Windows 8

  1. Click or tap the date and time in the Windows Notification Area in the bottom-right corner of the screen.
  2. Select Change date and time settings at the bottom of the window that appears (shown below).

How to change time in pc

  1. In the Date and Time window, under the Date and Time tab, click the Change date and time button.
  2. Make your adjustments and click OK.
  3. Click OK on the main Date and Time window to save the changes.

Tip

There is no ability to add seconds to the time displayed in the Windows Notification Area on the Taskbar. However, if you click the date and time, a pop-up window opens and displays the time with seconds included.

To change the time zone, follow these steps.

  1. In the Date and Time window from above, under the Date and Time tab, click the Change time zone button.
  2. Select the new time zone in the Time zone drop-down field and click OK.
  3. Click OK on the main Date and Time window to save the time zone change.

Windows 7 and Vista

In Windows 7 and Windows Vista, follow these steps to adjust the date and time.

  1. Press Windows key+D or navigate to the Windows desktop.
  2. Click or tap the date and time in the Windows Notification Area in the bottom-right corner of the screen.
  3. Select Change date and time settings in the bottom of the window that appears (shown below).

How to change time in pc

  1. In the Date and Time window, under the Date and Time tab, click the Change date and time button.
  2. Make your adjustments and click OK.
  3. Click OK on the Date and Time window to save the changes.

Tip

There is no ability to add seconds to the time displayed in the Windows Notification Area on the Taskbar. However, if you click the date and time, a pop-up window opens and displays the time with seconds included.

To change the time zone, follow these steps.

  1. In the Date and Time window from above, under the Date and Time tab, click the Change time zone button.
  2. Select the new time zone in the Time zone drop-down field and click OK.
  3. Click OK on the main Date and Time window to save the time zone change.

Windows XP, 2000, 98, 95, NE, and NT 4

In Windows XP and earlier versions, follow these steps to set the date and time.

  1. Navigate to the Windows desktop.
  2. Right-click the time in your Systray, usually located at the bottom-right of your screen.
  3. Click the Adjust Date/Time menu item.
  4. This action opens the Date/Time Properties window, where you can adjust the date, time, and time zone.
  5. Once the proper date and time are set, click Apply, and then Ok.

Tip

You may also double-click the time to open the Date/Time Properties window.

Tip

If you want to change how the computer handles daylight savings, click the Time Zone tab and check or uncheck the Automatically adjust clock for daylight saving changes option.

  • How to view the date in Microsoft Windows.
How to change time in pc

MS-DOS and Windows command line

Setting the date through MS-DOS or the Windows command line is accomplished via use of the date command. See our date command page for further information.

Setting the time through MS-DOS or the Windows command line is accomplished via use of the time command. See our time command page for further information.

Linux command line

In Linux, use the date command to manually set the system date and time.

date -s "8 MAY 2020 11:36:00"

Or, to synchronize your system clock with a network time server, use ntpdate. For example, on Ubuntu or Debian:

sudo apt update && sudo apt install ntpdate

Specify a network time server to the ntpdate command, for example us.pool.ntp.org.

sudo ntpdate us.pool.ntp.org
9 May 15:32:31 ntpdate[11562]: adjust time server 107.21.100.177 offset -0.004751 sec

To keep your system time synchronized regularly, install the ntp system service.

sudo apt install ntp

The service starts immediately, and starts automatically at system boot. To configure the service, edit the file /etc/ntp.conf, then restart the service.

sudo nano /etc/ntp.conf
sudo systemctl restart ntp

To access the hardware clock directly, use the hwclock command.

sudo hwclock --show

FreeBSD

In FreeBSD, ntp can be installed with the pkg package manager.

sudo pkg install ntp

Setting the date and time on the Apple operating system

  1. Open the Apple Menu and select System Preferences.
  2. Click Date & Time, and then click Date & Time again.
  3. In the Date & Time window, set the date, time, time zone.

Why can't I change my computer time?

Open Settings > Time & Language > Date & Time. Alternatively, you can right-click the system clock and select Adjust date/time.

How do I change my time settings?

Set time, date & time zone.
Open your phone's Clock app ..
Tap More. Settings. To pick your home time zone: Tap Home time zone. To automatically update your timezone: Tap Change date & time. Set time zone automatically. To update your timezone based on your location: Tap Change date & time Set time zone automatically..