# Need to Capture time in a field when clicked in the field

**URL:** <https://community.glideapps.com/t/need-to-capture-time-in-a-field-when-clicked-in-the-field/71931>\
**Category:** Ask for Help\
**Created:** [March 22, 2024, 6:34pm UTC](https://community.glideapps.com/t/need-to-capture-time-in-a-field-when-clicked-in-the-field/71931 "2024-03-22T18:34:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vmanda](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/vmanda/32/61562_2.png) [@vmanda](https://community.glideapps.com/u/vmanda)\
**Post date:** [March 22, 2024, 6:34pm UTC](https://community.glideapps.com/t/need-to-capture-time-in-a-field-when-clicked-in-the-field/71931/1 "2024-03-22T18:34:45Z")

</div>

Good Morning. New Day New question.

I have a field called ‘Shift Start’ - the idea is for the user to tap on that field or click in that field and the time at the time of the click is captured into that field. I hvae configured that table/field as time.

Thoughts?

On a related note - I think I may not be solving the problem the right way.

I have a need to capture mulitple ‘times’ - a daily time record. I have today’s date, Shift Start,m Shift End, Lunch Start , Lunch End etc. How do I ensure one record is created for a staff ( logged in user ) and that one recrod is updated throughout the day?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 23, 2024, 1:47am UTC](https://community.glideapps.com/t/need-to-capture-time-in-a-field-when-clicked-in-the-field/71931/2 "2024-03-23T01:47:03Z")

</div>

> [@vmanda](#):
>
> I have a field called ‘Shift Start’ - the idea is for the user to tap on that field or click in that field and the time at the time of the click is captured into that field. I hvae configured that table/field as time.

You should configure a button that writes the current date/time to the “Shift Start” field.

Same approach for other buttons, with multiple fields to store as needed.

> [@vmanda](#):
>
> How do I ensure one record is created for a staff ( logged in user ) and that one recrod is updated throughout the day?

I think you should just have one record per day for each employee, and multiple columns for each record.

---

<div class="post-metadata">

**Author:** ![Nataliya\_Kovaleva](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nataliya_kovaleva/32/67518_2.png) [@Nataliya\_Kovaleva](https://community.glideapps.com/u/Nataliya_Kovaleva)\
**Post date:** [March 23, 2024, 3:59am UTC](https://community.glideapps.com/t/need-to-capture-time-in-a-field-when-clicked-in-the-field/71931/3 "2024-03-23T03:59:07Z")

</div>

This Live build from Loqode is showing exactly how to build this functionality.

[![](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/4/f4afdf8a6d7907548937c562794bb7a769e004d0.jpeg "🛠️ Live Build Session - 8th February, 2024") ](https://www.youtube.com/watch?v=i0iZ7iErZT0)
