How to Change Date and Time Format in Ubuntu GUI

The Ubuntu top bar displays the current clock and calendar by default, but you may prefer customising how time is presented—such as switching between 24-hour military time and standard 12-hour AM/PM formats, displaying the day of the week, or revealing the full date. Ubuntu’s GNOME desktop environment includes straightforward controls in the graphical settings panel to tailor time displays to your personal preference. Here is how to configure date and time settings in Ubuntu.

Switching Between 24-Hour and 12-Hour Clock Formats

You can toggle time formatting directly through Ubuntu’s Date & Time settings:

  1. Click the system status icons in the top-right corner of the Ubuntu screen (where battery, network, and sound icons reside) to open the Quick Settings menu.
  2. Click the Gear icon (Settings) to open the main configuration panel.
  3. In the left navigation sidebar, scroll down and select Date & Time (under the System section on newer Ubuntu versions).
  4. Locate the Time Format section.
  5. Choose between 24-hour or AM / PM (12-hour) by selecting the corresponding option.
  6. The clock on the top panel updates immediately to reflect your choice.

Enabling Automatic Time and Time Zone Synchronisation

To guarantee that your computer’s clock remains accurate when travelling across time zones or when daylight saving time shifts occur:

  1. In the same Date & Time settings panel, verify that Automatic Date & Time is switched On. This synchronises your system clock with network time servers via NTP.
  2. Toggle on Automatic Time Zone to allow Ubuntu’s location services to determine your local time zone automatically.
  3. If you prefer setting your time zone manually, toggle off the automatic switch, click on Time Zone, and select your city on the interactive world map.

Customising Date, Seconds, and Weekday Display with GNOME Tweaks

While the standard settings panel covers basic 12/24-hour toggles, the lightweight GNOME Tweaks utility unlocks deeper top-bar clock customisation:

  1. Open the Ubuntu Software or App Centre, search for GNOME Tweaks, and click install (or run sudo apt install gnome-tweaks).
  2. Launch Tweaks from the application grid.
  3. Click Top Bar in the left sidebar.
  4. Under the Clock section, toggle the switches according to your preference:
    • Show weekday: Adds the day (e.g., “Wed”) before the time.
    • Show date: Displays the calendar month and day.
    • Show seconds: Adds real-time running seconds to the top clock.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.