# Formatting Time for timer input

**URL:** <https://discourse.nodered.org/t/formatting-time-for-timer-input/15409>\
**Category:** General\
**Created:** [11 September 2019 10:23 UTC](https://discourse.nodered.org/t/formatting-time-for-timer-input/15409 "2019-09-11T10:23:53Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [11 September 2019 20:51 UTC](https://discourse.nodered.org/t/formatting-time-for-timer-input/15409/21 "2019-09-11T20:51:34Z")

</div>

As @cymplecy Simon pointed out in another thread, you can replace the three lines in the change node with just a `move` of `msg.payload` to `msg.payload.ontime`

[Previous page](https://discourse.nodered.org/t/formatting-time-for-timer-input/15409.md?page=1)
