# How to get timezone UTC+7 in node-red

**URL:** <https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866>\
**Category:** General\
**Created:** [29 December 2022 07:52 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866 "2022-12-29T07:52:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyena](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hyena](https://discourse.nodered.org/u/hyena)\
**Post date:** [29 December 2022 07:52 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/1 "2022-12-29T07:52:50Z")

</div>

i want to get timezone UTC+7, but in my node-red have timezone UTC  
how i do timezone UTC+7 in node-red program?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [29 December 2022 07:55 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/2 "2022-12-29T07:55:44Z")

</div>

(This isn't to do with CREATING NODE)

Could you please move it to GENERAL?

---

<div class="post-metadata">

**Author:** ![hyena](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hyena](https://discourse.nodered.org/u/hyena)\
**Post date:** [29 December 2022 07:56 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/3 "2022-12-29T07:56:54Z")

</div>

give me solution

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [29 December 2022 07:58 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/4 "2022-12-29T07:58:02Z")

</div>

Well, I can't just _give_ you a solution.

How are you getting the time?

Which node are you using, or what command are you using to get the time(stamp)?

---

<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:** [29 December 2022 08:49 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/5 "2022-12-29T08:49:01Z")

</div>

Also what do you want to do with the time? Do you mean you want to display the time using the local timezone?

It is important to understand that, for example, 12:00 UTC is the same time as 19:00 UTC+7. Those are the same time displayed in a different way

---

<div class="post-metadata">

**Author:** ![hyena](https://avatars.discourse-cdn.com/v4/letter/h/71e660/32.png) [@hyena](https://discourse.nodered.org/u/hyena)\
**Post date:** [29 December 2022 08:54 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/6 "2022-12-29T08:54:40Z")

</div>

yes, i want to display 19:00 UTC+7  
but, in node-red display 12:00 UTC  
how i do to get display my local timezone is 19:00 UTC+7?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [29 December 2022 08:57 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/7 "2022-12-29T08:57:55Z")

</div>

What O/S are you using?

Because maybe the LOCALE setting defining your timezone may not be set.

---

<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:** [29 December 2022 09:10 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/8 "2022-12-29T09:10:24Z")

</div>

> [@hyena](#):
>
> how i do to get display my local timezone is 19:00 UTC+7

Where do you want to display it like that?  
Are you running node red and the browser in the same computer? If not then are they both set to UTC+7?

---

<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:** [29 December 2022 11:47 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/9 "2022-12-29T11:47:01Z")

</div>

> [@hyena](#):
>
> give me solution

As you can see, there are plenty of folk trying to help but we can't because we are missing information about what you are trying to do, how you are going about it and what environment you are working in. It is important to share these things up front so that people can help.

---

<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:** [27 February 2023 11:47 UTC](https://discourse.nodered.org/t/how-to-get-timezone-utc-7-in-node-red/72866/10 "2023-02-27T11:47:15Z")

</div>

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