I’ve been trying to understand calendar date countdowns.
How do I change this Christmas countdown to Halloween?
$(360-#DD#)<0?(366-#DD#+359):(360-#DD#)$
@Linlay just this:
$(305-#DD#)<0?(366-#DD#+304):(305-#DD#)$
But both conditionals will be off by one for leap years.
@pacing poet, ah thank you. I see where I went wrong. I had:
(304-#DD#) rather than (305-#DD#)
1 Like