# Button Event Time

**URL:** <https://forum.inductiveautomation.com/t/button-event-time/34428>\
**Category:** Ignition\
**Created:** [May 4, 2020, 9:16pm UTC](https://forum.inductiveautomation.com/t/button-event-time/34428 "2020-05-04T21:16:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![melwadeya](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@melwadeya](https://forum.inductiveautomation.com/u/melwadeya)\
**Post date:** [May 4, 2020, 9:16pm UTC](https://forum.inductiveautomation.com/t/button-event-time/34428/1 "2020-05-04T21:16:36Z")

</div>

Hello team,

the requirement is to print the date and time of which the user clicks on a button.

in other words, when the user clicks on a button, I need the event time to be printed on a report.

I know this sounds easy but I could not have it done…

any help is greatly appreciated.  
Thanks,

---

<div class="post-metadata">

**Author:** ![ayu](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ayu/32/16635_2.png) [@ayu](https://forum.inductiveautomation.com/u/ayu)\
**Post date:** [May 5, 2020, 12:24am UTC](https://forum.inductiveautomation.com/t/button-event-time/34428/2 "2020-05-05T00:24:32Z")

</div>

Hi @melwadeya,

Is this in Perspective or Vision?

---

<div class="post-metadata">

**Author:** ![melwadeya](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@melwadeya](https://forum.inductiveautomation.com/u/melwadeya)\
**Post date:** [May 5, 2020, 11:43am UTC](https://forum.inductiveautomation.com/t/button-event-time/34428/3 "2020-05-05T11:43:27Z")

</div>

I find the solution is to use the expression now(0) to fire when the button actionPerformed. it will print the current time without update.
