# Count down Timer for 2 hour in HH:MM:SS in forward

**URL:** <https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [June 5, 2024, 6:20am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385 "2024-06-05T06:20:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![srinivasan\_s](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@srinivasan\_s](https://forum.inductiveautomation.com/u/srinivasan_s)\
**Post date:** [June 5, 2024, 6:20am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/1 "2024-06-05T06:20:49Z")

</div>

I have label component. In that I need to count down the timer for 2 hours in HH:MM:SS format in forward direction. A start button to start the timer and reset button to reset it. Additional, if particular time reach, it should update the other label a some particular string. Example, if it reaches 00:30:00, update "30 minutes reached", like wise. Stuck with this simple issue for one whole day, kindly help me out!

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 5, 2024, 7:13am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/2 "2024-06-05T07:13:53Z")

</div>

Idk if its the best way, but one i think of is  
First storing the moment the button was clicked in a tag ("StartedTime"),  
Next using a different tag ("Timer") with a poll rate (not to fast)  
that checks the time difference between "now" and with the stored ("StartedTime") and sends a message at your specific intervals.

but dont use exact values for intervals use \< or \> and and maybe even store the time the last 30 minute message was send so you only send it once

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 5, 2024, 7:55am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/3 "2024-06-05T07:55:13Z")

</div>

This seems to be a variation of your previous question, [Need to set the timer in ignition when table has fetched the data](https://forum.inductiveautomation.com/t/need-to-set-the-timer-in-ignition-when-table-has-fetched-the-data/91294) only this time you're using a label to display the timer value rather than button text.

Please show your view layout, post formatted code and show what you expected and what you got.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [June 5, 2024, 8:18am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/4 "2024-06-05T08:18:54Z")

</div>

i did not see that post, it seems op is doing more than what was asked here, with multple posible proccesses at once, so this tag methode does not seem ideal for that, unless its a small fixed number

---

<div class="post-metadata">

**Author:** ![srinivasan\_s](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@srinivasan\_s](https://forum.inductiveautomation.com/u/srinivasan_s)\
**Post date:** [June 5, 2024, 9:11am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/5 "2024-06-05T09:11:26Z")

</div>

Thank you for your reply. Actually , after you detailed input for the changes, we have completely changed the function which I used to ask the last question. Now this is different scenario, I am asking!

---

<div class="post-metadata">

**Author:** ![srinivasan\_s](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@srinivasan\_s](https://forum.inductiveautomation.com/u/srinivasan_s)\
**Post date:** [June 5, 2024, 9:12am UTC](https://forum.inductiveautomation.com/t/count-down-timer-for-2-hour-in-hhss-in-forward/91385/6 "2024-06-05T09:12:03Z")

</div>

Yes it is now fixed one victor.Your inputs are welcome
