home

lab

countdown

interface
interface

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 parameters in the URL (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=2023-01-01&to=2023-12-31