# Timers triggered on 1st device and can be viewed on the 2nd device

**URL:** https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640
**Category:** Questions about Thunkable X
**Tags:** beginner
**Created:** [June 19, 2024, 10:55am UTC](https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640 "2024-06-19T10:55:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![t.jul](https://avatars.discourse-cdn.com/v4/letter/t/e9c0ed/32.png) [@t.jul](https://community.thunkable.com/u/t.jul)
#### Post date: [June 19, 2024, 10:55am UTC](https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640/1 "2024-06-19T10:55:05Z")

</div>

Hi there, is there any way to create an app with a timer that will start on one device and the 2nd device connected via database will be able to see the timer started/fired on the 1st device?

---

<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: [June 19, 2024, 3:37pm UTC](https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640/2 "2024-06-19T15:37:16Z")

</div>

Yes. Use the `seconds since 1970` block and set a cloud variable or cloud data source (e.g. Google Sheets cell) to its value when you want to start the timer. Then, check how long it’s been by subtracting `seconds since 1970` minus that value.

---

<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 19, 2024, 4:59pm UTC](https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640/3 "2024-06-19T16:59:52Z")

</div>

Hello @t.jul welcome to the community  
You can build this on a StP project using Firebase.

Here are the blocks you can use to save the value on Firebase when the timer starts:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/0/4012d9081487845df7dc254485245b803cb1260e.png)

These are the blocks to get the latest value:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/3/8373994cd5757093d739ee324e4486acd176cba5.png)

To create a StP project you will need to uncheck the option here:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/6/56546f5afa883f5ebb803c146573419dcd8ae64d.png)

You can find more information here: [Realtime DB by Firebase | Thunkable Docs](https://docs.thunkable.com/v/snap-to-place/realtime-db#update-data-in-real-time)

---

<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 17, 2024, 5:00pm UTC](https://community.thunkable.com/t/timers-triggered-on-1st-device-and-can-be-viewed-on-the-2nd-device/3064640/4 "2024-09-17T17:00:50Z")

</div>

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