# Display Timer Component Value in HH:MM:SS format

**URL:** <https://forum.inductiveautomation.com/t/display-timer-component-value-in-hh-mm-ss-format/9000>\
**Category:** Ignition\
**Created:** [September 4, 2014, 4:07pm UTC](https://forum.inductiveautomation.com/t/display-timer-component-value-in-hh-mm-ss-format/9000 "2014-09-04T16:07:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 4, 2021, 2:27pm UTC](https://forum.inductiveautomation.com/t/display-timer-component-value-in-hh-mm-ss-format/9000/4 "2021-05-04T14:27:03Z")

</div>

The original intent was to use an expression, not a script. 😉

That said, new date functions have been added since 2014.

> [@Expression tag to convert minutes to hh:mm:ss](http://forum.inductiveautomation.com/t/expression-tag-to-convert-minutes-to-hh-mm-ss/9154/10):
>
> IMO, it can just as easily be done without script. start from a date (midnight) add minutes or seconds like you want (needs to be integers, if you want high precision, you can add milliseconds as integers) format as “HH:mm:ss” This doesn’t work if the hours value can reach more than 24 hours, but apart from that, it’s quite concise and easy to understand IMO. dateFormat( addSeconds( getDate(1970,1,1), toInt({Root Container.value} \* 60) ), "HH:mm:ss" )

---

_[View the full topic](https://forum.inductiveautomation.com/t/display-timer-component-value-in-hh-mm-ss-format/9000)._
