How to Set or Change a Computer's Date and Time

Have you ever found yourself wondering how to adjust the date and time on your computer? Whether you need to update it due to a time zone change or you simply want to ensure your...

Virtual clock

Have you ever found yourself wondering how to adjust the date and time on your computer? Whether you need to update it due to a time zone change or you simply want to ensure your system clock is accurate, this article will guide you through the process. We'll cover how to change the date and time in your computer's operating system and BIOS settings, as well as provide instructions for mobile devices.

Setting the Date and Time in BIOS or CMOS Setup

If you need to adjust the date and time in your computer's BIOS (basic input/output system) or CMOS setup, follow these steps:

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

Setting the Date and Time in the Operating System

To change the system time in your operating system, follow these steps based on your Windows version:

Windows 10 and Windows 11

  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. Ensure 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.

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. Time and Date in Windows 8
  3. In the Date and Time window, under the Date and Time tab, click the Change date and time button.
  4. Make your adjustments and click OK.
  5. Click OK on the main Date and Time window to save the changes.

Windows 7 and Vista

In Windows 7 and Windows Vista, adjust the date and time by following these steps:

  1. Press the 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 at the bottom of the window that appears. Time and Date in Vista and 7
  4. In the Date and Time window, under the Date and Time tab, click the Change date and time button.
  5. Make your adjustments and click OK.
  6. Click OK on the Date and Time window to save the changes.

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

For 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.

MS-DOS and Windows Command Line

If you prefer using MS-DOS or the Windows command line, you can set the date and time using the date and time commands. Refer to the respective command pages for further information.

Linux Command Line

In Linux, you can manually set the system date and time using the date command:

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

Alternatively, you can synchronize your system clock with a network time server using the ntpdate command. For example, on Ubuntu or Debian:

sudo apt update && sudo apt install ntpdate

Specify a network time server to the ntpdate command, such as us.pool.ntp.org. To keep your system time synchronized regularly, install the ntp system service:

sudo apt install ntp

The service starts immediately and 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

Setting the Date and Time on the Apple Operating System

For Mac users, adjusting the date and time on the Apple operating system is straightforward. Follow these steps:

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

Now you know how to set or change the date and time on your computer or mobile device. Whether it's updating your system clock or adjusting for a different time zone, maintaining an accurate date and time is essential for a seamless user experience.

1