The current version of the Þ spec is about to be deprecated. Learn more about v0.3, arriving 28th February 2023.Learn more


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:

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