Solved Adding day to system tray clock produces Excel date format side effect


pseudonym

Well-known member
Local time
12:36 AM
Posts
26
OS
Win11
I was glad to find seconds are now natively supported by the system tray clock.

I also wanted to display the three character day of week abbreviation with the date. I changed the language and region short date format to ddd MM/dd/yy and my system clock date and time are perfect now.

However, changing the short date had an unexpected side effect. Excel (2016, installed locally) now shows dates by default with spaces where the '/' used to be, e.g. 02 18 2024 instead of 02/18/2024.

It was easy to create a custom date format in Excel with '/' characters. But... Wondering what else on my system has been affected... 😂

Is there a better way to display the day of week with a short date, while still remaining native Win11? Thanks!

1708275841671.png
 
Windows Build/Version
Win11 Pro 23H2 22631.3155

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
I don't know, but you might try setting the short date in this panel to what you want in Excel and the long date to what you want in the tray clock. Not difficult, and might work.

Clipboard_01.jpg
 

My Computers

System One System Two

  • OS
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • Operating System
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Mouse
    LogiTech M510 wireless
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
I was glad to find seconds are now natively supported by the system tray clock.

I also wanted to display the three character day of week abbreviation with the date. I changed the language and region short date format to ddd MM/dd/yy and my system clock date and time are perfect now.

However, changing the short date had an unexpected side effect. Excel (2016, installed locally) now shows dates by default with spaces where the '/' used to be, e.g. 02 18 2024 instead of 02/18/2024.

It was easy to create a custom date format in Excel with '/' characters. But... Wondering what else on my system has been affected... 😂

Is there a better way to display the day of week with a short date, while still remaining native Win11? Thanks!

View attachment 87570
That is an issue isn't it, as it becomes a system-wide change.
It changed the date format in Outlook 365 as well, which was not welcome.
I ended up rolling back the change.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 400MB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
I've tried making the same change as you and I get the day on the taskbar with the time. But with Excel (Office 2021) dates, the '/' is replaced by ',' - ie it now shows 18,02,2024 for todays date (UK format).
 

My Computers

System One System Two

  • OS
    Windows 11 Home 24H2 RP
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel I3-10100
    Motherboard
    MSI H410M-PRO
    Memory
    16 GB
    Graphics Card(s)
    Nvidia GT 1030
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27 inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung EVO 970 NVMe SSD 256 Gb
    Samsung QVO 870 SATA SSD 2 Tb
    PSU
    ATX 450W
    Keyboard
    Logitech
    Mouse
    Logitech Wireless
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Microsoft Office 2021 Plus
  • Operating System
    Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel i3-8100
    Motherboard
    Gigabyte Z370 D3
    Memory
    16 Gb
    Graphics card(s)
    Nvidia GT 720
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27-inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 960 NVMe SSD 256 Gb
    Seagate 2 Tb HDD
    PSU
    ATX 450W
    Mouse
    Logitech Wireless
    Keyboard
    Microsoft
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
  • Like
Reactions: OAT
Bizarre that Microsoft's own OS affects Mirosoft's own products! Or not. We are used to that, aren't we. :ffs:
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
Bizarre that Microsoft's own OS affects Mirosoft's own products! Or not. We are used to that, aren't we. :ffs:
You must have a date format that can be consistent across an OS.
Do you imagine the disaster if you had dates driven by varied programs & apps?
A choice had to be made. To tailor to each's needs and preferences is simply not practical.
There is a 3rd party program called ElevenClock that lets you configure what you see on your taskbar.
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 400MB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
You must have a date format that can be consistent across an OS.
Never argued this... just saying Microsoft's own OS badly affects Microsoft's own product (Excel). You'd think there'd be better testing, but we know better, don't we. It would have made sense to me if Excel started displaying ddd MM/dd/yy for date format (consistent across OS) but that's not what happened.
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
This is what I use on my computers but I do not use the seconds on my Notebooks/Laptops because of the associated warning that doing so affects the battery, shortens its use/charge. I haven't seen any issue with date/time on Microsoft 365 yet so maybe the age of the program can make a difference.

1708281500955.png
 

My Computers

System One System Two

  • OS
    Win11 Pro RTM
    Computer type
    Laptop
    Manufacturer/Model
    Dell Vostro 3400
    CPU
    Intel Core i5 11th Gen. 2.40GHz
    Memory
    12GB
    Hard Drives
    256GB SSD NVMe M.2
  • Operating System
    Windows 11 Pro RTM x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell Vostro 5890
    CPU
    Intel Core i5 10th Gen. 2.90GHz
    Memory
    16GB
    Graphics card(s)
    Onboard, no VGA, using a DisplayPort-to-VGA adapter
    Monitor(s) Displays
    24" Dell
    Hard Drives
    512GB SSD NVMe, 4TB Seagate HDD
    Browser
    Firefox, Edge
    Antivirus
    Windows Defender/Microsoft Security
This is what I use on my computers but I do not use the seconds on my Notebooks/Laptops because of the associated warning that doing so affects the battery, shortens its use/charge. I haven't seen any issue with date/time on Microsoft 365 yet so maybe the age of the program can make a difference.

View attachment 87587
That looks nice. I like mine visible in the tray so I don't have to hover, just glance.
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
I was glad to find seconds are now natively supported by the system tray clock.

I also wanted to display the three character day of week abbreviation with the date. I changed the language and region short date format to ddd MM/dd/yy and my system clock date and time are perfect now.

However, changing the short date had an unexpected side effect. Excel (2016, installed locally) now shows dates by default with spaces where the '/' used to be, e.g. 02 18 2024 instead of 02/18/2024.

It was easy to create a custom date format in Excel with '/' characters. But... Wondering what else on my system has been affected... 😂

Is there a better way to display the day of week with a short date, while still remaining native Win11? Thanks!

View attachment 87570

Just found what to me is a satisfactory solution. Specify your short date as ddd/MM/dd/yyyy and then it appears in the tray as Sun/02/18/2024, and is also correct in Excel with the '/'. Wife's PC has Excel 2016 (has Home and Business 2016 installed locally) and it works correctly now too.
 

My Computers

System One System Two

  • OS
    Windows 11 Home 24H2 RP
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel I3-10100
    Motherboard
    MSI H410M-PRO
    Memory
    16 GB
    Graphics Card(s)
    Nvidia GT 1030
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27 inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung EVO 970 NVMe SSD 256 Gb
    Samsung QVO 870 SATA SSD 2 Tb
    PSU
    ATX 450W
    Keyboard
    Logitech
    Mouse
    Logitech Wireless
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Microsoft Office 2021 Plus
  • Operating System
    Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel i3-8100
    Motherboard
    Gigabyte Z370 D3
    Memory
    16 Gb
    Graphics card(s)
    Nvidia GT 720
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27-inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 960 NVMe SSD 256 Gb
    Seagate 2 Tb HDD
    PSU
    ATX 450W
    Mouse
    Logitech Wireless
    Keyboard
    Microsoft
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
Just found what to me is a satisfactory solution. Specify your short date as ddd/MM/dd/yyyy and then it appears in the tray as Sun/02/18/2024, and is also correct in Excel with the '/'. Wife's PC has Excel 2016 (has Home and Business 2016 installed locally) and it works correctly now too.
It never occurred to me to try that... Brilliant!
Still wondering what else I'll uncover is b0rked by this setting...
Thanks for this!
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
It never occurred to me to try that... Brilliant!
Still wondering what else I'll uncover is b0rked by this setting...
Thanks for this!

Finally realized what's happening. When you specify the date as ddd?MM/dd/yyyy it's whatever you've used in the ? field that Excel is using as the delimiter. Suspect it's probably working by accident rather than design ....
 

My Computers

System One System Two

  • OS
    Windows 11 Home 24H2 RP
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel I3-10100
    Motherboard
    MSI H410M-PRO
    Memory
    16 GB
    Graphics Card(s)
    Nvidia GT 1030
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27 inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung EVO 970 NVMe SSD 256 Gb
    Samsung QVO 870 SATA SSD 2 Tb
    PSU
    ATX 450W
    Keyboard
    Logitech
    Mouse
    Logitech Wireless
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Microsoft Office 2021 Plus
  • Operating System
    Windows 11 Home
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self-build
    CPU
    Intel i3-8100
    Motherboard
    Gigabyte Z370 D3
    Memory
    16 Gb
    Graphics card(s)
    Nvidia GT 720
    Sound Card
    Motherboard default
    Monitor(s) Displays
    Philips 27-inch
    Screen Resolution
    1920x1080
    Hard Drives
    Samsung 960 NVMe SSD 256 Gb
    Seagate 2 Tb HDD
    PSU
    ATX 450W
    Mouse
    Logitech Wireless
    Keyboard
    Microsoft
    Internet Speed
    930 Mb down / 120 Mb up
    Browser
    Edge
    Antivirus
    Windows Defender
Just found what to me is a satisfactory solution. Specify your short date as ddd/MM/dd/yyyy and then it appears in the tray as Sun/02/18/2024, and is also correct in Excel with the '/'. Wife's PC has Excel 2016 (has Home and Business 2016 installed locally) and it works correctly now too.

Just noticed, while it did fix the issue with Excel, long dates everywhere display with the slash too (which makes sense, it's the 'new' long date format). File explorer, for example.
1710458001073.png
Would be nice if we could just directly customize the systray clock without involving international date format changes, etc.
 

My Computer

System One

  • OS
    Win11
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 5
    CPU
    12 Gen Intel I7
    Memory
    32G
    Graphics Card(s)
    Intel Iris
    Sound Card
    Realtek
    Screen Resolution
    2496x1664
    Hard Drives
    1T SK Hynix SSD
It appears the variable string in Region is being passed off to subsequent programs incorrectly, EXCEPT for the icon tray clock. Let me illustrate what happens in Outlook as well as the clock.

Photo 1: Reset.png
In Windows 11 "Region/Advanced settings...Date (tab)" I reset the formatting to start from scratch.
  • Day of the Week shows in Outlook "Received" column ("Fri 7/5 1/23 PM)"
  • Day of the Week does not show in icon tray clock ("1:28 PM 7/5/2024")

Photo 2: Customize.png
Add "ddd," to the date string for "Short date".
  • Icon tray clock is perfect! It now shows "Fri, " before the date: "Fri, 7/5/2024"
  • Outlook, however, moves the comma to the RIGHT of the month! And none of the format options offered has a slash in the date. All commas, not just after the month but also between the date and the year.
Photo 3: Slash.png
Change the comma to a slash, just to prove the issue.
  • Icon tray clock now shows "Fri/ 7/5/2024. This is to be expected.
  • Outlook now puts a slash after the month which, even though it looks somewhat right, is wrong. It should be after the Fri. It also now puts a space after all slashes. Look at the formats offered and you'll see what I mean.
For the record, all these results are the same when I simply add "ddd " with no comma or slash. There just ends up being a space where the comma or slash would be.

It seems clear to me that in the code, they are manipulating the string variable incorrectly. It seems to affect other programs like Outlook and Excel, but not the icon tray clock, so there must be a separate routine for passing it off to a system item like the clock as opposed to applications. Whichever routine parses the variable to be passed off to other applications is the guilty party.

A programmer needs to sit down and look at the code for an hour. It's not that difficult to fix, just a simple string manipulation mistake, but it will never fix itself. No amount of tweaking our settings will fix this for us.
 

Attachments

  • 1 Reset.png
    1 Reset.png
    527.8 KB · Views: 3
  • 2 Customize.png
    2 Customize.png
    528.6 KB · Views: 3
  • 3 Slash.png
    3 Slash.png
    457.3 KB · Views: 3

My Computer

System One

  • OS
    Windows 10 and Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
Try to use charmap 200B blank cataracter instead of a space after the day ddd and see what happens with excel/ explorer
 

My Computer

System One

  • OS
    Windows 11 Pro
In Character Map, in the "Go to Unicode:" box I enter "200B". It seems to find it, as the map changes, an empty-looking box gets selected, and at the bottom of dialog box it shows "U+200B: Zero Width Space". I click the "Copy" button.

I'm not seeing how to paste such a thing into the Format string. I use ctrl-V, but nothing pastes. I opened a blank Word document to see what happens when I paste in there I see what looks like a carriage return-line feed. I assume it's the 200B plus a line feed. But pasting into the Format string doesn't appear to be successful, as the cursor doesn't move at all.
 

My Computer

System One

  • OS
    Windows 10 and Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
It’s an invisible character. It pastes but nothing shows. Test this: open file explorer, sort by name, create a folder named (paste 200b)z and it’ll be above A
 

My Computer

System One

  • OS
    Windows 11 Pro
That was pretty slick. I created a folder with just that character.

So then I went and did as you suggested in the Region settings, but received this error: "One or more of the characters you entered for the Short Date format are invalid. Try using different characters."
 

My Computer

System One

  • OS
    Windows 10 and Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP
Just noticed, while it did fix the issue with Excel, long dates everywhere display with the slash too (which makes sense, it's the 'new' long date format). File explorer, for example.
View attachment 90236
Would be nice if we could just directly customize the systray clock without involving international date format changes, etc.
"Would be nice if we could just directly customize the systray clock without involving international date format changes, etc."
THIS! Sometimes I feel like programmers are narrowminded. The nature of intuitive UI is that things should do what you expect them to when you click on or change something. When I messed with my taskbar clock it's because I wanted my task bar to display something. At that moment I'm not thinking through how this is changing the way Exel, (or in my case Cabinet Vision), or ANY other program is working.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Think Station
OK, I installed ElevenClock and so far so good!
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Think Station

Similar threads

Back
Top Bottom