# How to save amount of time spent in the app by a User and save it to User's profile in the cloud

**URL:** https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989
**Category:** Questions about Thunkable X
**Created:** [December 20, 2022, 7:12am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989 "2022-12-20T07:12:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![varunkadapatti](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@varunkadapatti](https://community.thunkable.com/u/varunkadapatti)
#### Post date: [December 20, 2022, 7:12am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989/1 "2022-12-20T07:12:44Z")

</div>

Hello, i have a question.

I want to save the total time spent by the user from the time he/she opens the app.

Suppose i spent 12 minutes yesterday and 20 minutes today.  
Then i wantr to display that the user has spent a total of 32 minutes using the app. Pls can someone help me?

Thank you.  
Regards.

---

<div class="post-metadata">

### Author: ![varunkadapatti](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@varunkadapatti](https://community.thunkable.com/u/varunkadapatti)
#### Post date: [December 24, 2022, 3:07am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989/2 "2022-12-24T03:07:48Z")

</div>

Hi, was anyone able to find a solution to this? I’m still not understanding saving the time after each session and the updating the time after each new session

---

<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: [December 24, 2022, 3:16am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989/3 "2022-12-24T03:16:04Z")

</div>

I think you would have to use a timer (or a forever loop) and increase a stored variable every second. Then you could just display that value, converted to minutes, in a label.

---

<div class="post-metadata">

### Author: ![varunkadapatti](https://avatars.discourse-cdn.com/v4/letter/v/eb8c5e/32.png) [@varunkadapatti](https://community.thunkable.com/u/varunkadapatti)
#### Post date: [December 24, 2022, 9:24am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989/4 "2022-12-24T09:24:47Z")

</div>

Oh okay. Please can you show me an example of how to do this? If you could send a screenshot of the logic it would be immensely helpful. Thanks.

---

<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: [March 24, 2023, 9:25am UTC](https://community.thunkable.com/t/how-to-save-amount-of-time-spent-in-the-app-by-a-user-and-save-it-to-users-profile-in-the-cloud/2185989/5 "2023-03-24T09:25:21Z")

</div>

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