# Taking the sum of time that a machine is on(1), displaying value on label

**URL:** <https://forum.inductiveautomation.com/t/taking-the-sum-of-time-that-a-machine-is-on-1-displaying-value-on-label/88234>\
**Category:** Ignition\
**Created:** [April 2, 2024, 2:56pm UTC](https://forum.inductiveautomation.com/t/taking-the-sum-of-time-that-a-machine-is-on-1-displaying-value-on-label/88234 "2024-04-02T14:56:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [April 5, 2024, 12:53pm UTC](https://forum.inductiveautomation.com/t/taking-the-sum-of-time-that-a-machine-is-on-1-displaying-value-on-label/88234/5 "2024-04-05T12:53:33Z")

</div>

Hi, Nathaniel. Please see [Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831) and then hit the pencil icon under your post to fix it. Preserving the indentation on Python scripting is important.

Also, there's general Reply button on the thread but there's also one on each post and when you use that the user gets a notification and it's obvious then who you are replying to.

---

_[View the full topic](https://forum.inductiveautomation.com/t/taking-the-sum-of-time-that-a-machine-is-on-1-displaying-value-on-label/88234)._
