# Need to create a timer in Designer

**URL:** <https://forum.inductiveautomation.com/t/need-to-create-a-timer-in-designer/103974>\
**Category:** Ignition\
**Created:** [March 20, 2025, 6:44pm UTC](https://forum.inductiveautomation.com/t/need-to-create-a-timer-in-designer/103974 "2025-03-20T18:44:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [March 20, 2025, 6:52pm UTC](https://forum.inductiveautomation.com/t/need-to-create-a-timer-in-designer/103974/2 "2025-03-20T18:52:46Z")

</div>

> [@Curiosity? Gateway Timer Event Scripts](https://forum.inductiveautomation.com/t/curiosity-gateway-timer-event-scripts/102368/9):
>
> As Ryan suggests, don't count in a timer event. The timing is not very precise. To get retention of prior time, you need at least two timestamps to hold state, updated when the signal changes. A stop timestamp, and an adjusted start timestamp. The start timestamp needs to be adjusted backwards from now() by the amount accumulated before. Drop these tags into a test folder to see how to set this up: { "tags": [{ "valueSource": "expr", "expression": "if(\n\t{[.]RTO\_Reset},…

---

_[View the full topic](https://forum.inductiveautomation.com/t/need-to-create-a-timer-in-designer/103974)._
