Skip to content

Instantly share code, notes, and snippets.

@raven-rock
Created March 16, 2021 16:01
Show Gist options
  • Save raven-rock/09cc80882e021ef3f85877fe88f8b02a to your computer and use it in GitHub Desktop.
Save raven-rock/09cc80882e021ef3f85877fe88f8b02a to your computer and use it in GitHub Desktop.
Windows 10: showing seconds in the system tray clock

Showing seconds in the system tray clock in Windows 10 is accomplished via a registry hack. It is based a boolean DWORD entry called ShowSecondsInSystemClock. The entry doesn't exist by default, so must created by hand, or you can use the code below to create two convenient registry script files, one for enabling seconds and another for disabling.

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=-
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment