The clock displays the current civil and solar times in traditional hh:mm format, and in a metric format. For the metric time, I divide the day into 10,000 equal-sized segments. Midnight is 0000 and the instant before the following midnight is 9999. A 24-hour day is 86,400 seconds long. Four digits means the smallest digit is equivalent to 100 microdays. Each 100-microday unit is 8.64 seconds long. The clock counts those as they pass and displays the current count. Finally, the percent-of-day elapsed is displayed as a progress bar. It occurred to me after working with metric time for a while that you could view the 4-digit metric time as a percentage, with a decimal point in the middle, so I added that display.
0 commit comments