It can be sorted relatively easy for 24h format. To make the minutes go from 0 to 60 no matter the added 15, 30 or 45 minutes, there needs to be the modulo put in use. For example this would be for zone local + 1.5h:
(floor((#DWFHS#+1.5*15)/15)):((#Dm#+30)%60)
Oops, i have to overthink it a bit for the utc.
I guess it could be like this for UTC +1h30m for example
(floor((#DUH#+1+((#DUm#+30))/60)%24)):$(#DUm#+30)%60<10?0:$((#DUm#+30)%60)
for negative values it would need to add there 24h.
for 12h format it would need separate formula in separate field to substitute 12 for 0.
Hi @amirderis88
I don’t know if it helps, but I have several dials with an adjustable GMT hand. Not at a fixed time, but at your pleasure.
For advances of an hour I use the formula
((#DUK#*60+#DUm#*0.5)+(#VAR_1#*30)) in rotation
For 1/2 hour advances I use the formula
((#DUK#*30+#DUm#*0.5)+(#VAR_1#*15)) in rotation
If you want to make Am/Pm appear connected to the third hand
Insert in Text Field Am and in Opacity insert
AM opacity: $((#DUH#+#DUm#/60+#VAR_1#*0.5)%24)<12?100:0$
if in rotation formula for 1/2 H
AM opacity: $((#DUH#+#DUm#/60+#VAR_1#*1)%24)<12?100:0$
if in rotation formula for 1 hour
Insert in Text Field Pm and in Opacity insert
$((#DUH#+#DUm#/60+#VAR_1#*0.5)%24)>=12?100:0$
for 1/2 hour
$((#DUH#+#DUm#/60+#VAR_1#*1)%24)>=12?100:0$
for 1h
If you have a 24h dial use
(#DWFHS#+(#VAR_1#*15)) for +1h with a smooth rotation
or
(#DWFH#+(#VAR_1#*15)) for +1h with movement in a jump
Unfortunately these formulas are not my brainchild. They were given to me by some good soul in the community.
Unfortunately that was a long time ago and I don’t remember who he was, otherwise I’d give him due credit by naming him.
Thanks, anyway, to whoever did it.
The formulas, of course, work perfectly