# Wrong timezone in Node Red

**URL:** <https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381>\
**Category:** General\
**Tags:** docker\
**Created:** [14 October 2025 05:07 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381 "2025-10-14T05:07:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![macht\_rebel](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@macht\_rebel](https://discourse.nodered.org/u/macht_rebel)\
**Post date:** [14 October 2025 05:07 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/1 "2025-10-14T05:07:03Z")

</div>

I run Node-RED (V4.1.0) under Synology Container. My issue is that I have in my Node-RED GUI always the UTC (Zulu) Timezone instead of Europe/Berlin (GMT+2). I broke yesterday my fingers to correct it and thought I did it, but this morning again ... wrong time stamp. Here is what I already did:

- I configured my container with the right time zone, as well the time zone
- I entered a piece of code into my settings.js
- On top of it I set a Global Environment Variables entry

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/b/8baf1dbc23a87e6577d7d221b896e04d3a0465d3.jpeg)

The Global Environment Variables entry gave me yesterday the correct time stamp in Node-RED. Unfortunately this morning, again, I get the wrong one.

 ![Time stamp of test node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/b/4b58c6b72a423373d7da4ed6323f2f1156b8fd9f.png)

Does anyone has an idea how to fix this issue? Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [14 October 2025 06:19 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/2 "2025-10-14T06:19:24Z")

</div>

Why do you think it is wrong?

The time string in your debug output is Zulu and is 2 hours before the time stamp of your browser just above.

The debug output is actually a number but it is formatted in UTC/Zulu. If you click the time stamp it will toggle through number, local time stamp format, UTC format.

---

<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:** [14 October 2025 08:20 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/3 "2025-10-14T08:20:55Z")

</div>

Note that 04:19 UTC is the same time as 06:19 Europe/Berlin. What you are seeing is the same time formatted differently for display.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [14 October 2025 12:39 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/4 "2025-10-14T12:39:32Z")

</div>

And just to expand slightly on this, JavaScript's default when serialising a JavaScript Date object is to turn it into an ISO8602 date string which is always UTC (the trailing Z fpr Zulu/UTC/GMT).

This can indeed be very confusing for the unwary.

---

<div class="post-metadata">

**Author:** ![macht\_rebel](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@macht\_rebel](https://discourse.nodered.org/u/macht_rebel)\
**Post date:** [14 October 2025 16:29 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/5 "2025-10-14T16:29:53Z")

</div>

First of all thank you ... this is what I did't know. I never toogled the timestamp. Good to know!

Yesterday I made other test within nodes that did not fit in my timezone, made the entry in the settings and wondered this morning.

But the jobs ran on time 😃 again thanks!

---

<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:** [28 October 2025 16:30 UTC](https://discourse.nodered.org/t/wrong-timezone-in-node-red/99381/6 "2025-10-28T16:30:05Z")

</div>

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