date '+scale=2;((%H*60+%M)*60+%S.%N)/8640' | bc

#Linux #DecimalTime

@ruari nice ... I totally missed the hashtag there and had parsed that one out manually ... do like me a printf/strftime hack ... :)

RE: https://velocipederider.com/@ruari/115475170910895200

@mherbert It was the shortest oneliner I have come up with so far to present the time in decimal for when I have to set my watch.

Though if I am truely honest I would usually just load

https://decimalnow.com/home

Or these days I also have a Garmin that can display in decimal time and that updates automatically, so I can just read it off that.

@ruari ... it was fun to unpack, well done ... given you're smashing that to two significant places I'd probably have dropped anything smaller than a minute, but I totally understand why you didn't ... :)
@ruari initially my heart sank because I'm UTC+10 and the bare 9.21 coming out of that didn't make any sense until I took a closer look ...

@mherbert Speaking of UTC offsets and decimal time. I also have @dailyprogress, though has no offset runs in reverse (count down).

I use it more for a way to understand how far I have done back through my feed. I did not have to do that decimally but percentages are fun and they are decimal, so 🤷