# How to sync timestamp value with machine time during runtime of node-red?

**URL:** <https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980>\
**Category:** General\
**Created:** [16 November 2020 03:49 UTC](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980 "2020-11-16T03:49:31Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![madironman](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@madironman](https://discourse.nodered.org/u/madironman)\
**Post date:** [21 November 2020 04:29 UTC](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980/21 "2020-11-21T04:29:13Z")

</div>

Yup I should have tested them separately my bad. I managed to remove the template node and test, still I get the same results , The value on the UI doesn't change unless I manually click the timestamp ( inject node ) to inject some value.  
my node-red version is v12.19.0

**UPDATE:** I started over and created a new time stamp node and it fixed my issue, It seems the update interval was the problem. Thank you very much @Colin

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [21 November 2020 08:19 UTC](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980/22 "2020-11-21T08:19:05Z")

</div>

Well that doesn't appear to be consistent with several of the earlier reports, but if it is fixed then ok, I guess we may never know what was actually going on.

---

<div class="post-metadata">

**Author:** ![madironman](https://avatars.discourse-cdn.com/v4/letter/m/ba8739/32.png) [@madironman](https://discourse.nodered.org/u/madironman)\
**Post date:** [21 November 2020 13:43 UTC](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980/23 "2020-11-21T13:43:59Z")

</div>

true that, I checked it several times now, its working consistently. I remember doing an apt update of all packages before trying this out, not sure whether that fixed it. thanks anyways 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [5 December 2020 13:44 UTC](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980/24 "2020-12-05T13:44:10Z")

</div>

Closed on 5 December 2020 13:44 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/how-to-sync-timestamp-value-with-machine-time-during-runtime-of-node-red/35980.md?page=1)
