# Timetracking

**URL:** <https://community.glideapps.com/t/timetracking/56848>\
**Category:** Ask for Help\
**Created:** [January 18, 2023, 7:37pm UTC](https://community.glideapps.com/t/timetracking/56848 "2023-01-18T19:37:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Ramelsberger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andreas_ramelsberger/32/52780_2.png) [@Andreas\_Ramelsberger](https://community.glideapps.com/u/Andreas_Ramelsberger)\
**Post date:** [January 18, 2023, 7:37pm UTC](https://community.glideapps.com/t/timetracking/56848/1 "2023-01-18T19:37:34Z")

</div>

I want to programm a time tracking function. Therefore I created a new talbe called time tracking and when you hit the start button the curent time will be set… and a now row is added with your name and so on… NOW my question is. With hitting the stop button in the SAME row the value for the “end of the time tracking” has to be set. How could that work?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 18, 2023, 7:39pm UTC](https://community.glideapps.com/t/timetracking/56848/2 "2023-01-18T19:39:29Z")

</div>

so you have a column with the time start… then, when hitting the stop button record the current time in the stop column…  
Your stop button needs to be related to the start row… or your screen need to be on that row

---

<div class="post-metadata">

**Author:** ![Andreas\_Ramelsberger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andreas_ramelsberger/32/52780_2.png) [@Andreas\_Ramelsberger](https://community.glideapps.com/u/Andreas_Ramelsberger)\
**Post date:** [January 18, 2023, 9:39pm UTC](https://community.glideapps.com/t/timetracking/56848/3 "2023-01-18T21:39:56Z")

</div>

thanks for your input. I do not find a solution how I can relate that. Do you have an idea for me?  
So I can relate the project name and so on… but the problem is that there will be multiple time entrys. I had the idea to work with a unique identifier but this just works once… so when I add it to the row and then as a column value, it does not work.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 18, 2023, 10:12pm UTC](https://community.glideapps.com/t/timetracking/56848/4 "2023-01-18T22:12:02Z")

</div>

I would need more info, on how your app work… but, let’s assume that you do this:

someone hit START… action:

1. set a unique ID in the current sheet (USC column)
2. add a new row, with the current time, and that unique ID.

in the table editor add a relation column between these two unique IDs

when hit END… action: set columns ROW relation… set time end with the current time.

---

<div class="post-metadata">

**Author:** ![Andreas\_Ramelsberger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andreas_ramelsberger/32/52780_2.png) [@Andreas\_Ramelsberger](https://community.glideapps.com/u/Andreas_Ramelsberger)\
**Post date:** [January 18, 2023, 10:41pm UTC](https://community.glideapps.com/t/timetracking/56848/5 "2023-01-18T22:41:56Z")

</div>

This was the hint! The USC Column! Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 19, 2023, 12:23am UTC](https://community.glideapps.com/t/timetracking/56848/6 "2023-01-19T00:23:03Z")

</div>

In case you’re interested, this is exactly how I built this template:

> **[Glide • Time Sheet v2 Template – Clock in. Clock out. Track your time sheet.](https://www.glideapps.com/templates/time-sheet-v2-iz)**
>
> Allow employees to clock in and clock out in multiple shifts per day. Employees and admins can track daily and weekly time sheets and calculate daily and weekly hourly pay.

The unique ID in this case is the user’s employee ID.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 20, 2023, 12:23am UTC](https://community.glideapps.com/t/timetracking/56848/7 "2023-01-20T00:23:18Z")

</div>

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