# Adding an intervals timer to an app

**URL:** <https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142>\
**Category:** Ask for Help\
**Created:** [March 14, 2023, 1:02pm UTC](https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142 "2023-03-14T13:02:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlietmail](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charlietmail/32/55259_2.png) [@charlietmail](https://community.glideapps.com/u/charlietmail)\
**Post date:** [March 14, 2023, 1:02pm UTC](https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142/1 "2023-03-14T13:02:53Z")

</div>

I’ve created an intervals workout app (focused on Burpees). One feature in the app is the calculation of interval timings, ie. the time per set and per rest between sets, and the time per repetition within each set. Here’s the app template:

> **[Burpees Program Tracker](https://go.glideapps.com/template/kt0b3HSPZCmQ29q3Z64N-template-published?privateTemplateToken=xaBK0zTOiYff7ipHgAq4)**

This picture shows the timings for a particular workout:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/a/7a0e1e3a86650ca9a2f38884f504665d371855a3.png)

I’d like to create a feature based on a countdown timer that puts these numbers into use. In other words, during a set (when the user should be exercising), the screen displays something to that effect; likewise, there’s a visual prompt for each repetition.

Repetitions might have a duration of around 5 seconds, so I’d need to create a feature that’s updating frequently.

I imagine it needs some kind of FOR EACH and WHILE logic, but I don’t know how to implement this in Glide or whether there’s another way.

Gladly welcome any ideas or examples illustrating how this could be done.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 15, 2023, 12:45am UTC](https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142/2 "2023-03-15T00:45:46Z")

</div>

So you want to put a timer on the screen so the user knows how many seconds they have to do a set, and which set they are doing? I don’t think we have the native ability to do something like that.

---

<div class="post-metadata">

**Author:** ![charlietmail](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/charlietmail/32/55259_2.png) [@charlietmail](https://community.glideapps.com/u/charlietmail)\
**Post date:** [March 15, 2023, 9:01am UTC](https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142/3 "2023-03-15T09:01:57Z")

</div>

@ThinhDinh - yes, that’s what I want to do.

I agree, I think there’s no way to do it natively because the date-time data in Glide tables is only updated every 10 seconds.

I’m sure there’s a countdown component in the development roadmap 🤞

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 15, 2023, 9:03am UTC](https://community.glideapps.com/t/adding-an-intervals-timer-to-an-app/59142/4 "2023-03-15T09:03:11Z")

</div>

> [@charlietmail](#):
>
> I’m sure there’s a countdown component in the development roadmap

I wouldn’t be sure about that 😅
