# Computing duration using gateway tag value change script

**URL:** <https://forum.inductiveautomation.com/t/computing-duration-using-gateway-tag-value-change-script/19959>\
**Category:** General Discussion\
**Tags:** scripting\
**Created:** [October 3, 2018, 3:26pm UTC](https://forum.inductiveautomation.com/t/computing-duration-using-gateway-tag-value-change-script/19959 "2018-10-03T15:26:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 3, 2018, 9:14pm UTC](https://forum.inductiveautomation.com/t/computing-duration-using-gateway-tag-value-change-script/19959/2 "2018-10-03T21:14:24Z")

</div>

This topic might give you some ideas:

> [@Timer Component](http://forum.inductiveautomation.com/t/timer-component/17125):
>
> Is there a way to have the timer count in Hours/Min/seconds?

---

_[View the full topic](https://forum.inductiveautomation.com/t/computing-duration-using-gateway-tag-value-change-script/19959)._
