Leading Zero switch

Fanatic Peter . Wonderful Tutorial . Thank You .

You probably found it meanwhile. I would suggest using [HOUR_0_11_MIN] instead of [HOUR_1_12]

1 Like

Thanks for the advice. I solved it like this:

(cos(rad((([HOUR_1_12]*30) + ([MIN]*0.5)) - 90)) * 85)

Hello all, I did something similar, which I’m attaching as an example. In addition to the hour numbers, I’ve also included both the hours and the text, which are always readable regardless of whether the time is at the top or bottom of the display. I’ve attached a copy if you want to extract the formulas:
([HOUR_0_11_MIN] >= 3) * ([HOUR_0_11_MIN] <= 9)? 0: 100
[HOUR_0_11_MIN]*30
([HOUR_0_11_MIN] >= 3) * ([HOUR_0_11_MIN] <= 9)? 100: 0
180+[HOUR_0_11_MIN]*30

Desenzano.zip (202.4 KB)

Thank you very much, Mayalona. That’s a great example.