Countdown : # of days remaining

Hey guys, I'm wondering if there's a simple way to create a countdown from [[SET DATE]] - [[CURRENT DATE]] = Days Remaining.

I'm hoping to just display the output, no forms or anything complex! Thanks!

You could do something like the following. The trick is to use the "X" formatting option for the {time} command which gives the time in seconds.

This counts the days until 2020-12-31:

{=round( ({time: X; at=2020-12-31} - {time: X}) / 24 / 60 / 60)} days left

2 Likes

This is gold! Welp - if I plan on dying at 80, i have 16,894 days left to live.