# Epoch time conversion to GMT +8

**URL:** <https://discourse.nodered.org/t/epoch-time-conversion-to-gmt-8/29862>\
**Category:** General\
**Created:** [10 July 2020 16:04 UTC](https://discourse.nodered.org/t/epoch-time-conversion-to-gmt-8/29862 "2020-07-10T16:04:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [10 July 2020 17:54 UTC](https://discourse.nodered.org/t/epoch-time-conversion-to-gmt-8/29862/5 "2020-07-10T17:54:35Z")

</div>

Have a look at this thread, I wrote there how to convert to local timezone.

> [@Formatting times & dates with moment.js examples](https://discourse.nodered.org/t/formatting-times-dates-with-moment-js-examples/29553):
>
> Since node-RED v1.1.0 support for the moment.js date/time library has been added, currently only available for jsonata expressions, but hopefully in time to also be added to the function node. I've included a few examples below, of how Moment can be used to provide date/time functions. Please feel free to add others This is the basic format, which creates a realtime UTC timestamp similar to Sun Jul 05 2020 13:22:30 GMT+0000. [moment] [{"id":"54c46ebe.3b623","type":"change","z":"a444a9ff.e7a…

---

_[View the full topic](https://discourse.nodered.org/t/epoch-time-conversion-to-gmt-8/29862)._
