# Creating Streaks in Thunkable

**URL:** <https://community.thunkable.com/t/creating-streaks-in-thunkable/746904>\
**Category:** Questions about Thunkable X\
**Created:** [August 17, 2020, 3:50am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904 "2020-08-17T03:50:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![3202](https://avatars.discourse-cdn.com/v4/letter/3/d2c977/32.png) [@3202](https://community.thunkable.com/u/3202)\
**Post date:** [August 17, 2020, 3:50am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/1 "2020-08-17T03:50:35Z")

</div>

Hi there,  
I am trying to create a ‘streaks function’ inside of my app. When the user has clicked on a button, an icon in a tracker would light up for that day. I am planning for it to only display the past 3 days’ completion status. It is basically like one of those habit trackers currently available on the App Store.

I need help in finding a way to keep the completion status in a variable or object of some sort which would allow me to pull the information out, and display it appropriately in the icons for the previous days. I have attempted to use variables but time is an issue as there is no such function like “if (completionStatus) on (time and date) = true, set image to …”

Any help is appreciated!

Thank you!

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [August 17, 2020, 11:18am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/2 "2020-08-17T11:18:41Z")

</div>

You can do this using the seconds since 1970 block

---

<div class="post-metadata">

**Author:** ![3202](https://avatars.discourse-cdn.com/v4/letter/3/d2c977/32.png) [@3202](https://community.thunkable.com/u/3202)\
**Post date:** [August 18, 2020, 2:27am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/3 "2020-08-18T02:27:58Z")

</div>

Hi, thanks for the reply Jared!  
As I’m relatively new to Thunkable, how would I go about using that block in my situation? I was messing around with it but can’t seem to find a way to do so.

---

<div class="post-metadata">

**Author:** ![chloe.r.mediaxn](https://avatars.discourse-cdn.com/v4/letter/c/ecb155/32.png) [@chloe.r.mediaxn](https://community.thunkable.com/u/chloe.r.mediaxn)\
**Post date:** [August 16, 2022, 4:06am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/4 "2022-08-16T04:06:11Z")

</div>

Hi I am trying to do the same thing did you figure it out??

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 16, 2022, 5:59am UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/5 "2022-08-16T05:59:01Z")

</div>

It’s unlikely that the original author will respond to a topic that is two years old. It’s better to start a new topic and if there is a related topic such as this one, include a link to it. Make sure to explain what you tried, what you expected to happen, and what is/is not working.

---

<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, 12:26pm UTC](https://community.thunkable.com/t/creating-streaks-in-thunkable/746904/6 "2024-11-08T12:26:40Z")

</div>


