# Timestamp from Tag triggered event

**URL:** <https://forum.inductiveautomation.com/t/timestamp-from-tag-triggered-event/16972>\
**Category:** Ignition\
**Created:** [February 13, 2018, 10:42pm UTC](https://forum.inductiveautomation.com/t/timestamp-from-tag-triggered-event/16972 "2018-02-13T22:42:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_hanson](https://avatars.discourse-cdn.com/v4/letter/p/b782af/32.png) [@p\_hanson](https://forum.inductiveautomation.com/u/p_hanson)\
**Post date:** [February 13, 2018, 10:42pm UTC](https://forum.inductiveautomation.com/t/timestamp-from-tag-triggered-event/16972/1 "2018-02-13T22:42:19Z")

</div>

I’m trying to display a timestamp based on a boolean tag.

i.e. When a “start” momentary button is pushed, display the time the button was pushed. When a “stop” momentary button is pushed, display the time the button was pushed. Two separate time stamps displayed. The times need to remain displayed until the button is pushed again, overwriting what was previously displayed. I don’t need to store the timestamps in a DB at this time.

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [February 14, 2018, 1:20pm UTC](https://forum.inductiveautomation.com/t/timestamp-from-tag-triggered-event/16972/2 "2018-02-14T13:20:45Z")

</div>

Create two memory tags and then on the tags do a change script and write the datetime to the memory tags.  
Then just bind labels on your window to those tags.
