# Creating a one-hour countdown timer

**URL:** <https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426>\
**Category:** Questions about Thunkable X\
**Created:** [January 12, 2025, 5:20pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426 "2025-01-12T17:20:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 12, 2025, 5:20pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/1 "2025-01-12T17:20:58Z")

</div>

I need to create a countdown timer that runs for an hour then resets. I have the 5-minute timer, but 5 minutes is the max. how do i make the timer longer?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 12, 2025, 8:00pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/2 "2025-01-12T20:00:46Z")

</div>

Hello @mrtcryerkcshe7 Welcome to Thunkable!

What have you tried so far?  
Maybe I can make some suggestions based on your already existing code.

Cheers \<3

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 12, 2025, 8:30pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/3 "2025-01-12T20:30:35Z")

</div>

Thank you.  
I just followed the guide in the Thunkable docs for a timer.  
Ultimately, I want to create a timer that will send me a notification as a reminder to drink water. I would love for it the time to be adjustable and show the remaining time like a clock, but I cannot seem to figure that out. I was able to figure out how to make it reset and start over, which is perfect. I can do a lot in Scratch and thought this would be similar, but there are a lot more differences than I thought there would be.

 ![Screenshot 2025-01-12 152159](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/a/6afc2911cb506ec56a480a017efb98c847251146.png)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 13, 2025, 7:38am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/4 "2025-01-13T07:38:22Z")

</div>

I see, thanks for sharing.  
So just to get it right you want to:

1. Display the time left in minutes and seconds.
2. You want to be able to send a notification if you need to drink water, do you want this to happen in the background or when the app is open?

You do need a Thunkable subscription to have access to background notifications.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 13, 2025, 9:54am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/5 "2025-01-13T09:54:33Z")

</div>

Thank you. Yes, that is correct, however just displaying the time right would be fine too.

It seems like I need a subscription to be able to use the app as well, so the notifications would be included too.

Thanks for the help

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 13, 2025, 10:56am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/6 "2025-01-13T10:56:23Z")

</div>

You can download 2 iOS or android app files for free but to publish and keep it that way you need a subscription indeed.

You can use the following blocks to convert to mm:ss.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43fb50232fa2346a7cdb026fc14490dfab46db40.png)

ps: if you need it to be an hour you should use 3600 seconds instead of 5000.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 13, 2025, 11:11am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/7 "2025-01-13T11:11:05Z")

</div>

Ok, thank you.  
I saw that I can download them for testing, but if I understand correctly, they only work for 72 hours. Did I misunderstand something?

Thanks for the help! I can’t look at it closely now, but will tonight . This is exciting!

Are there resources to learn more about how to do different things? I found the help documents only moderately helpful.

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 13, 2025, 11:15am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/8 "2025-01-13T11:15:52Z")

</div>

> [@mrtcryerkcshe7](#):
>
> saw that I can download them for testing, but if I understand correctly, they only work for 72 hours. Did I misunderstand something?

No that’s when the link expires.

> [@mrtcryerkcshe7](#):
>
> Are there resources to learn more about how to do different things? I found the help documents only moderately helpful.

There are lots of tutorials that can be found on youtube and Thunkable.  
There is no clear way for everyone to learn something, do all I can suggest is look at tutorials and try things out, see what works and doesn’t.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 13, 2025, 11:43am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/9 "2025-01-13T11:43:32Z")

</div>

Ohhhh! Thanks for the clarification! Glad I asked.  
Thank you for all your help. As you can tell, I am trying to figure this out a bit!

I will leave you alone now! 😜

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 13, 2025, 11:47am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/10 "2025-01-13T11:47:52Z")

</div>

Glad I could help.

If I solved your issue please mark the answer as solved so other users know the solution if they stumble across the issue.

Good luck on your thunking journey!

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 13, 2025, 12:45pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/11 "2025-01-13T12:45:09Z")

</div>

Ok, I will once I take a look at your suggested code.

Thanks again.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 14, 2025, 1:10am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/12 "2025-01-14T01:10:23Z")

</div>

Hi again!  
I added what you suggested and changed the time, but it still just counts down the seconds. Clearly, I missed something. I have a basic idea of what the function is supposed to do, but maybe I missed something else.

Here is an image of everything I have so far.

 ![Screenshot 2025-01-13 200721](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/1/71d516b52b24ebeb4b7660f5e2267771bac37445.png)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [January 14, 2025, 9:10am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/13 "2025-01-14T09:10:35Z")

</div>

Hello @mrtcryerkcshe7,

You have made a typo you create the variable secondsclock but try to read the variable secondsClock  
You are also still setting the display text to the variable rather than calling the function to get the seconds in mn:ss format.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [January 14, 2025, 9:32am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/14 "2025-01-14T09:32:02Z")

</div>

I had a feeling I had a typo! I looked and looked, but clearly missed it.

I will take a look at the function piece. I have not used them much, but will figure this out.

Thanks again!

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [February 9, 2025, 12:14am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/15 "2025-02-09T00:14:37Z")

</div>

I set up my app the way you suggested, but it still only shows the countdown in seconds.  
Any other ideas?  
I have attached a photo of my code as it is now.

 ![Screenshot 2025-02-08 191214](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/3/034a0d8ac6efcb992f5a20c037333aebdc123e20.png)

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [February 9, 2025, 8:19am UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/16 "2025-02-09T08:19:27Z")

</div>

Your still not using the function caller block.  
If you go into functions you can see a define function blocks and the function already created.  
Drag that block onto the workspace and set the display text to that function.

---

<div class="post-metadata">

**Author:** ![mrtcryerkcshe7](https://avatars.discourse-cdn.com/v4/letter/m/85e7bf/32.png) [@mrtcryerkcshe7](https://community.thunkable.com/u/mrtcryerkcshe7)\
**Post date:** [February 9, 2025, 12:13pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/17 "2025-02-09T12:13:36Z")

</div>

Ok, that makes sense. I was trying to figure out how the function was described. I was looking for the wrong thing!

Thank you!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [May 10, 2025, 12:14pm UTC](https://community.thunkable.com/t/creating-a-one-hour-countdown-timer/3471426/18 "2025-05-10T12:14:12Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
