I’m wondering if anyone can help me with a countdown in hours and minutes until Sunrise/Sunset, IE a text display with; Sunset in X hours X minutes and then another one with Sunrise in X hours X minutes, I’ve already worked out how to make them transparent using $#DISDAYTIME#=true?100:0$ for each text display bit, just not sure how to add the countdown.

I found there was a issue with this equation. It had to do with the hour variables being constant till the next hour.
example or problem:
Sunset is 18:34
Time is 17:35
Return of equation 1h59M
We need 0h59m

I scratched my head for a long time and solved this small issued, based on the work merllin did, but converting everything to minutes in the hour equation so we could get a hour with decimal. Then we floor the number.