# Need help on timere logic

**URL:** https://community.thunkable.com/t/need-help-on-timere-logic/3036927
**Category:** Questions about Thunkable X
**Created:** [June 2, 2024, 7:18am UTC](https://community.thunkable.com/t/need-help-on-timere-logic/3036927 "2024-06-02T07:18:52Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![salmannawaz1724xjqj0](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/salmannawaz1724xjqj0/32/173858_2.png) [@salmannawaz1724xjqj0](https://community.thunkable.com/u/salmannawaz1724xjqj0)
#### Post date: [June 2, 2024, 7:18am UTC](https://community.thunkable.com/t/need-help-on-timere-logic/3036927/1 "2024-06-02T07:18:52Z")

</div>

I need your help on this logic in thunkable, the logic is very simple , if the user clicks the button start the timer of 10 minutes, and navigate them to home screen, and ( there’s a button on homescreen to navigate to other screen) if the timer ends than navigate to other screen , otherwise wait for it , and also I want this logic run even the user close the apps and restart next time ( Blocks Implementation) and timer should not stop even the app restart, for example user clicks the button which can start the timer of 2 minutes, than user close the app and restart after one minute, so timer should also decrease ( count time when app was closed) as same!

can someome please help with it by providinng a logic exampel

---

<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: [June 5, 2024, 7:41pm UTC](https://community.thunkable.com/t/need-help-on-timere-logic/3036927/2 "2024-06-05T19:41:12Z")

</div>

Hello @salmannawaz1724xjqj0  
The timer continues to run even if you switch screens.

You can check this sample project: [Thunkable](https://x.thunkable.com/projects/65cce8afa35a5909fdb2314b/)

To build the feature to work when users close the app you could use the [“seconds since 1970” block](https://docs.thunkable.com/blocks/blocks/device#get-seconds-since-1970)

---

<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: [September 3, 2024, 7:41pm UTC](https://community.thunkable.com/t/need-help-on-timere-logic/3036927/3 "2024-09-03T19:41:27Z")

</div>

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