countdown
Whenever there’s an upcoming event like a trip, I like to keep track of the time until then, so I made a simple countdown app.
mechanics
It prompts the user for two dates, which can also be added as from
and to
URL parameters (as YYYY-MM-DD
). It then shows the remaining duration from the present time till the designated end time, displayed as an ISO-8601 duration string.
https://lab.avanier.dev/countdown?from=2024-01-01&to=2024-12-31