# How to implement a custom countdown timer with dynamic inputs

**URL:** <https://community.weweb.io/t/how-to-implement-a-custom-countdown-timer-with-dynamic-inputs/5906>\
**Category:** Developer corner\
**Tags:** design\
**Created:** [December 12, 2023, 5:49pm UTC](https://community.weweb.io/t/how-to-implement-a-custom-countdown-timer-with-dynamic-inputs/5906 "2023-12-12T17:49:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilasha](https://avatars.discourse-cdn.com/v4/letter/a/d26b3c/32.png) [@Abhilasha](https://community.weweb.io/u/Abhilasha)\
**Post date:** [December 12, 2023, 5:49pm UTC](https://community.weweb.io/t/how-to-implement-a-custom-countdown-timer-with-dynamic-inputs/5906/1 "2023-12-12T17:49:55Z")

</div>

I have a timestamp of start time, end time and want to implement a countdown based on these values and current time

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [December 12, 2023, 10:01pm UTC](https://community.weweb.io/t/how-to-implement-a-custom-countdown-timer-with-dynamic-inputs/5906/2 "2023-12-12T22:01:01Z")

</div>

Calculate the time missing to the end, and then just probably via a loop do the countdown magic.
