# \#time

**URL:** https://discourse.nodered.org/tag/time/113.md

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

---

## [How to get unformatted time](https://discourse.nodered.org/t/how-to-get-unformatted-time/100441)

<div class="topic-metadata">

**Author:** [@scf](https://discourse.nodered.org/u/scf)\
**Replies:** 3\
**Last updated:** [24 February 2026 11:06 UTC](https://discourse.nodered.org/t/how-to-get-unformatted-time/100441 "2026-02-24T11:06:31Z")

</div>

How do I get unformatted time (milliseconds since the Epoch) from Date() or some other function call? I need to do this in a function, injecting a timestamp won't work for this. Thanks!

---

## [How to restrict a flow's output based on time of day](https://discourse.nodered.org/t/how-to-restrict-a-flows-output-based-on-time-of-day/97762)

<div class="topic-metadata">

**Author:** [@abrayshaw](https://discourse.nodered.org/u/abrayshaw)\
**Replies:** 5\
**Last updated:** [24 June 2025 15:40 UTC](https://discourse.nodered.org/t/how-to-restrict-a-flows-output-based-on-time-of-day/97762 "2025-06-24T15:40:04Z")

</div>

I am very new to Node-Red. I am using Homeseer automation for lighting control. Using Homeseer's documentation (and hours of experimentation) I was able to create a NR flow to have an outdoor motion sensor cause my Amazo…

---

## [How to Insert TimeStamps Into SQL](https://discourse.nodered.org/t/how-to-insert-timestamps-into-sql/97655)

<div class="topic-metadata">

**Author:** [@Tecnolaundry](https://discourse.nodered.org/u/Tecnolaundry)\
**Replies:** 4\
**Last updated:** [20 June 2025 12:53 UTC](https://discourse.nodered.org/t/how-to-insert-timestamps-into-sql/97655 "2025-06-20T12:53:23Z")

</div>

good day to all of you i am new to node red, i need to create a table into a database that comes from an industrial laundry at a hospital, i need to create cycle start time and cycle finish time, i get errors about parse…

---

## [Yet another SQL timestamp doubt](https://discourse.nodered.org/t/yet-another-sql-timestamp-doubt/91301)

<div class="topic-metadata">

**Author:** [@shubhamnodered](https://discourse.nodered.org/u/shubhamnodered)\
**Replies:** 16\
**Last updated:** [1 October 2024 09:39 UTC](https://discourse.nodered.org/t/yet-another-sql-timestamp-doubt/91301 "2024-10-01T09:39:16Z")

</div>

Hi Guys and Hello node red team, My query is in reference to the point that Julius @TotallyInformation mentioned = "Always store DB entries in UTC" in the article " Wrong Timezone data in sql query result?!?" I found t…

---

## [Specific timestamp from Node-Red to InfluxDB shell version 1.8.10](https://discourse.nodered.org/t/specific-timestamp-from-node-red-to-influxdb-shell-version-1-8-10/90501)

<div class="topic-metadata">

**Author:** [@King-of-Noobs](https://discourse.nodered.org/u/King-of-Noobs)\
**Replies:** 4\
**Last updated:** [29 August 2024 08:20 UTC](https://discourse.nodered.org/t/specific-timestamp-from-node-red-to-influxdb-shell-version-1-8-10/90501 "2024-08-29T08:20:50Z")

</div>

Hi community, my first time in the forum since so far I was able to help myself (also thanks to the forum) but my current task is kind of challenging. The basic idea is kind of simple and I will explain on a minimum exa…

---

## [Inject node with wrong time !?](https://discourse.nodered.org/t/inject-node-with-wrong-time/90415)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 4\
**Last updated:** [25 August 2024 14:53 UTC](https://discourse.nodered.org/t/inject-node-with-wrong-time/90415 "2024-08-25T14:53:35Z")

</div>

Current default time zone: 'Europe/Berlin' Local time is now: Sun Aug 25 12:30:10 CEST 2024. Universal Time is now: Sun Aug 25 10:30:10 UTC 2024. Why does the inject node have one hour difference?

---

## [How to add a hourly, daily and weekly time stamp to this flow?](https://discourse.nodered.org/t/how-to-add-a-hourly-daily-and-weekly-time-stamp-to-this-flow/83841)

<div class="topic-metadata">

**Author:** [@marky](https://discourse.nodered.org/u/marky)\
**Replies:** 3\
**Last updated:** [21 December 2023 19:10 UTC](https://discourse.nodered.org/t/how-to-add-a-hourly-daily-and-weekly-time-stamp-to-this-flow/83841 "2023-12-21T19:10:45Z")

</div>

Hey everyone, I'm trying to add a hourly, daily and a weekly timestamp to my power monitor so I can add a graphic in the UI. How can i solve this? my code that I now use is: \[ { "id": "42d1b955dcf41c8b", …
