Countdown

Countdown to a time and date

By @timdiekmannV0.2.0
{}

The Countdown block displays the number of days, months, and years until a particular target date. The date is selected with an intuitive date picker and a title can be added above the countdown to provide additional context. Optionally, the number of minutes and hours can also be shown.

The block accepts targetDateTime [string] in ISO 8601 date and time format and uses the Graph Service's updateEntity method to store this in the embedding application's storage. title [string] and displayTime [boolean] properties set the title and hours and minutes options respectively.

Learn more about the date and time format here: https://en.wikipedia.org/wiki/ISO_8601.

Ready to build your own blocks?

Anyone can contribute

Anyone can create blocks and contribute to this growing, open-source registry of blocks. Read our quickstart guide to start building your own blocks.

Read the quickstart guide
We're hiring full-stack TypeScript/React developers to build blocks full-time, and grow theBlock Protocol ecosystem.Learn more