I want to show an element on a specific month/day/time. Using && I can get month (or day), hour, minute but not all 4
for example this works:
$#DM#==7&&#DUH#==19&&#Dm#==32?100:0$
and this does not:
$#DM#==7&&#Dd#==16&&#DUH#==19&&#Dm#==32?100:0$
It doesn’t work as far as I know because of the limit of 3 Boolian operators. I also fell into the brackets trap but figured it out eventually!
Seems like a simple request to make something happen at a certain date and time but I can’t figure it out.
I have a question about using #DUH# but I’ll put that in a separate post.
Ha ha yes . What fun . Now first off you could use the Day number in the year #DD# to replace the first two . You could use #DWFHS# and work out which angle your time was . I struggle with multi conditionals so I split them up . So you could use half your formula to send it off stage X and the other half off stage Y .
I did not test it on watch, and it may not work reliably for all models, but in preview this works for me: (100*(#DM#==7)*(#Dd#==16)*(#DH#==19)*(#Dm#==32))
Does #DD# take care of leap year - is it smart enough to know it’s a leap year and move the number of days to keep my date if it’s after the 29th of February?
There is a good point . Without testing it I am not sure . Yes you are right . Sorry . There is a Tag or the number of days in the year .
Try the Peter Voodoo . You realise your formula Lights something for 1 minute . ((#DIY#)-#DD#) is the same Leap Year or no but you have to work backwards . The time machine gives you the correct number .