# Countdown problems

**URL:** <https://community.thunkable.com/t/countdown-problems/590882>\
**Category:** Questions about Thunkable X\
**Created:** [June 1, 2020, 9:54pm UTC](https://community.thunkable.com/t/countdown-problems/590882 "2020-06-01T21:54:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 1, 2020, 9:54pm UTC](https://community.thunkable.com/t/countdown-problems/590882/1 "2020-06-01T21:54:30Z")

</div>

Hi I’m making a countdown but the problem I’ve is when I enter a time and click start button numbers doesn’t change can someone please help me ASAP  
Here is the blocks related

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/c/5cd14ab05b86b9148915da70ff537bcb12662976.jpeg) ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/7/e74a7525571f4423370bd6f91d2245cf6d48d587.jpeg)

---

<div class="post-metadata">

**Author:** ![mythi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mythi/32/70585_2.png) [@mythi](https://community.thunkable.com/u/mythi)\
**Post date:** [June 2, 2020, 3:12am UTC](https://community.thunkable.com/t/countdown-problems/590882/2 "2020-06-02T03:12:33Z")

</div>

Hello @taravat.mahavar83qr7, what is your countdown variable contain? Is it the number of seconds left?

If so, then when you use the `test if true if false`, I don’t think you should be dividing by 60, rather subtracting. But, that will only work if the time is under two minutes.

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 2, 2020, 8:45am UTC](https://community.thunkable.com/t/countdown-problems/590882/3 "2020-06-02T08:45:43Z")

</div>

Hey @taravat.mahavar83qr7

Take a look at the “Tempus” sample app which contains open-source examples of how to do create your own programmable countdown:

[http://community.thunkable.com/t/working-with-times-and-dates-in-thunkable-x/54077/4?u=domhnallohanlon](http://community.thunkable.com/t/working-with-times-and-dates-in-thunkable-x/54077/4)

EDIT:

I see you’ve actually posted a question in the tutorial topic too.

Just wondering perhaps if you’re using the default values for your timer component?

 ![timer_default](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/200cf6d50dc9930af5d9f7f16f56ebf1db6ecff5.png)

* * *

If you want the countdown to automatically update every second you will need to make changed to the `Interval` property and to the `Loops` property, so that they look like the image below:

 ![timer_countdown](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/3/131f0c6fddf2d246625cfa26af4237ed739e8216.png)

Thanks.

---

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 2, 2020, 8:49pm UTC](https://community.thunkable.com/t/countdown-problems/590882/4 "2020-06-02T20:49:34Z")

</div>

Thank you for your help but how should I stop it when it becomes zero?

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [June 2, 2020, 9:34pm UTC](https://community.thunkable.com/t/countdown-problems/590882/5 "2020-06-02T21:34:59Z")

</div>

@taravat.mahavar83qr7 you can use the control block `IF` and test if the value = 0

What sort of app are you trying to build?

Did you try and remix the sample app in the tutorials?

---

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 3, 2020, 5:01am UTC](https://community.thunkable.com/t/countdown-problems/590882/6 "2020-06-03T05:01:13Z")

</div>

Thank you for your help.I’m making a work out app and I’ve two problems with this first is that it won’t stop when it turns to zero and the second one is that it only works when you put minutes but if you only put seconds numbers get negative like this I would be thankful if you help me with this

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/81bc747bf43b5140fb01e20dfac988d3f23549cb.jpeg)

---

<div class="post-metadata">

**Author:** ![taravat.mahavar83qr7](https://avatars.discourse-cdn.com/v4/letter/t/ad7895/32.png) [@taravat.mahavar83qr7](https://community.thunkable.com/u/taravat.mahavar83qr7)\
**Post date:** [June 4, 2020, 4:12am UTC](https://community.thunkable.com/t/countdown-problems/590882/7 "2020-06-04T04:12:21Z")

</div>

Can you please help me with this because it’s my school project and I haven’t worked with Thunkable before

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:28am UTC](https://community.thunkable.com/t/countdown-problems/590882/8 "2024-11-08T11:28:48Z")

</div>


