# How long since a change in a field. Patient Wait time

**URL:** <https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483>\
**Category:** Ask for Help\
**Created:** [March 6, 2024, 11:58pm UTC](https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483 "2024-03-06T23:58:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonah112](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jonah112](https://community.glideapps.com/u/Jonah112)\
**Post date:** [March 6, 2024, 11:58pm UTC](https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483/1 "2024-03-06T23:58:05Z")

</div>

I’m developing an app for my office that displays both the real-time status of each exam room (Waiting, Ready, etc.) and the time elapsed since the latest status change for each room and patient.

While I’ve successfully implemented the front-end and the functionality to update room statuses, I need help implementing the feature that calculates and displays the duration since the last status change.

---

<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 7, 2024, 12:14am UTC](https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483/2 "2024-03-07T00:14:48Z")

</div>

Are you letting the users change the status using the app interface as well? If that’s the case, it should be easy enough to add a current date/time value to a “Last Edit” field when an edit is submitted.

---

<div class="post-metadata">

**Author:** ![Jonah112](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@Jonah112](https://community.glideapps.com/u/Jonah112)\
**Post date:** [March 7, 2024, 1:44pm UTC](https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483/3 "2024-03-07T13:44:45Z")

</div>

Yes users can change the field. I’ll try your idea 🙂 I’m hoping I can navigate what field options to select. Thanks for the thoughts!!

---

<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:** [March 24, 2024, 12:30pm UTC](https://community.glideapps.com/t/how-long-since-a-change-in-a-field-patient-wait-time/71483/4 "2024-03-24T12:30:19Z")

</div>

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