DEV Community

Cover image for Customize the Date and Time on the Linux Mint Cinnamon Taskbar
Sunil Pradhan
Sunil Pradhan

Posted on

Customize the Date and Time on the Linux Mint Cinnamon Taskbar

When I started using Linux Mint, I spent quite a bit of time exploring small desktop customizations.

One of the simple things I discovered was that Linux Mint Cinnamon lets you customize how the date and time are displayed on the taskbar.

Instead of showing only something like:

Sat Aug 22 07:10 PM
Enter fullscreen mode Exit fullscreen mode

you can change it to something that works better for you.

For example:

Sat, Aug 22 • 07:10 PM
Enter fullscreen mode Exit fullscreen mode

or:

22 Aug 2026 | 07:10 PM
Enter fullscreen mode Exit fullscreen mode

or even:

Saturday, 22 August • 19:10
Enter fullscreen mode Exit fullscreen mode

It is a small change, but it is a nice way to personalize your desktop.

Linux Mint taskbar

Where can I change it?

On Linux Mint Cinnamon, right-click the clock/date area on the taskbar and open the calendar settings.

You should find a Display section with an option called:

Use a custom date format

Enable it and you will see a field where you can enter your own date and time format.

Linux Mint Calender Settings

For example:

%a %b %e | %I:%M %p
Enter fullscreen mode Exit fullscreen mode

The Cinnamon documentation provides a complete reference for these formatting codes.

But what do these strange symbols mean?

At first, the format looks a little confusing:

%a %b %e | %I:%M %p
Enter fullscreen mode Exit fullscreen mode

Don't worry. Each % code simply represents a different part of the date or time.

For example:

Code Meaning Example
%a Short weekday Sat
%A Full weekday Saturday
%b Short month Aug
%B Full month August
%d Day with leading zero 02
%e Day without leading zero 22
%m Month number 08
%Y Four-digit year 2026
%y Two-digit year 26
%H Hour, 24-hour format 19
%I Hour, 12-hour format 07
%M Minutes 10
%S Seconds 35
%p AM/PM PM
%P am/pm pm
%Z Timezone IST

The complete Cinnamon reference also includes things such as week numbers, day of the year and fractional seconds.

You don't need to remember all of them. Once you understand a few common codes, creating your own format becomes quite easy.

My favorite date and time combinations

Here are some combinations you can try directly in the Date format field.

1. Simple and clean

%a %b %e  %I:%M %p
Enter fullscreen mode Exit fullscreen mode

Result:

Sat Aug 22  07:10 PM
Enter fullscreen mode Exit fullscreen mode

2. More readable

%a, %b %e • %I:%M %p
Enter fullscreen mode Exit fullscreen mode

Result:

Sat, Aug 22 • 07:10 PM
Enter fullscreen mode Exit fullscreen mode

I like this one because the • separates the date and time nicely.

3. Full weekday

%A, %B %e • %I:%M %p
Enter fullscreen mode Exit fullscreen mode

Result:

Saturday, August 22 • 07:10 PM
Enter fullscreen mode Exit fullscreen mode

This takes a little more space, but it looks nice if your panel has enough room.

4. Day first

If you prefer the common Indian/European style of putting the day before the month:

%e %b %Y • %I:%M %p
Enter fullscreen mode Exit fullscreen mode

Result:

22 Aug 2026 • 07:10 PM
Enter fullscreen mode Exit fullscreen mode

This is probably one of my favorite formats for everyday use.

5. Full date with 24-hour time

If you prefer the 24-hour clock:

%e %B %Y • %H:%M
Enter fullscreen mode Exit fullscreen mode

Result:

22 August 2026 • 19:10
Enter fullscreen mode Exit fullscreen mode

This is clean and easy to read.

6. Developer-style format

If you are a developer and like ISO-style dates, you can try:

%Y-%m-%d %H:%M
Enter fullscreen mode Exit fullscreen mode

Result:

2026-08-22 19:10
Enter fullscreen mode Exit fullscreen mode

Very simple and useful if you already work with dates in programming.

7. Developer-style with seconds

Want to see seconds as well?

%Y-%m-%d %H:%M:%S
Enter fullscreen mode Exit fullscreen mode

Result:

2026-08-22 19:10:35
Enter fullscreen mode Exit fullscreen mode

Personally, I wouldn't use seconds permanently because the clock keeps changing every second, but it can be useful if you like having that information visible.

8. A compact format

If you don't have much space on your taskbar:

%e %b | %H:%M
Enter fullscreen mode Exit fullscreen mode

Result:

22 Aug | 19:10
Enter fullscreen mode Exit fullscreen mode

This gives you the important information without taking too much space.

9. Full date, but still reasonably compact

%a %e %b %Y | %H:%M
Enter fullscreen mode Exit fullscreen mode

Result:

Sat 22 Aug 2026 | 19:10
Enter fullscreen mode Exit fullscreen mode

This is another good everyday option.

You can also use your own separators

One thing I found interesting is that you are not limited to the formatting codes.

You can add normal characters around them.

For example:

%a • %e %b %Y • %I:%M %p
Enter fullscreen mode Exit fullscreen mode

can produce:

Sat • 22 Aug 2026 • 07:10 PM
Enter fullscreen mode Exit fullscreen mode

You can use characters such as:

|
-
/
•
·
Enter fullscreen mode Exit fullscreen mode

So you can experiment with the spacing and separators until you find something you like.

What about the timezone?

There is also a %Z option for the timezone name.

For example:

%e %b %Y • %H:%M %Z
Enter fullscreen mode Exit fullscreen mode

could show:

22 Aug 2026 • 19:10 IST
Enter fullscreen mode Exit fullscreen mode

This can be useful if you regularly work with people in different time zones.

A small tip: don't make it too complicated

It is tempting to add everything:

%A, %e %B %Y • %H:%M:%S %Z
Enter fullscreen mode Exit fullscreen mode

But remember that the taskbar has limited space.

A format like this can become:

Saturday, 22 August 2026 • 19:10:35 IST
Enter fullscreen mode Exit fullscreen mode

That's a lot of information for a small clock.

For everyday use, I prefer something shorter, such as:

%a, %e %b %Y • %H:%M
Enter fullscreen mode Exit fullscreen mode

which gives:

Sat, 22 Aug 2026 • 19:10
Enter fullscreen mode Exit fullscreen mode

Simple, readable and not too wide.

Final thoughts

This is one of those small Linux Mint customizations that I really enjoy.

It doesn't change anything important about the operating system. It simply lets you decide how information should look on your own desktop.

And that's one of the things I like about Linux Mint: you can start with small customizations like the taskbar clock and gradually discover many more ways to make your desktop feel like your own.

If you're new to Linux Mint, don't worry about learning all the strftime codes at once.

Just remember a few:

%aSat
%ASaturday
%bAug
%BAugust
%e22
%Y2026
%H19
%I07
%M10
%pPM
Enter fullscreen mode Exit fullscreen mode

From there, you can mix and match them and create your own taskbar clock.

My current choice:

%a, %e %b %Y • %H:%M
Enter fullscreen mode Exit fullscreen mode

Which gives me:

Sat, 22 Aug 2026 • 19:10
Enter fullscreen mode Exit fullscreen mode

Small customization, but a nice touch for a Linux desktop.

Top comments (0)