I managed to code a digital clock as a module, which actually represents what you always wanted, I think.
It was quite fiddly to code, but runs clean on all OS.
I take the liberty to present it here separately, since something like this has been requested for many years.
viewtopic.php?f=12&t=76880
