# Ignition Gateway - Logs - Time

**URL:** <https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052>\
**Category:** Ignition\
**Created:** [May 26, 2022, 9:57am UTC](https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052 "2022-05-26T09:57:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bogdan](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Bogdan](https://forum.inductiveautomation.com/u/Bogdan)\
**Post date:** [May 26, 2022, 9:57am UTC](https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052/1 "2022-05-26T09:57:51Z")

</div>

Hello everyone,

We have noticed in our gateways something regarding logs and we will like to understand if this is the expected comportment.

We are located in Romania, and the Gateway is hosted in Spain.  
We can see that is a difference what is displayed in logs at Column time and what is generated by system.date.now().

Until now we thought that column Time is representing the local time zone when the script was executed and that created a little bit of confusion looking in logs.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/3/c342ba04b5f908a290da1530d4a5aa4b794d913a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a2053ff53aa606e1f1ba576f37f9bdba90184b32.png)

Let me know your thoughts…

Thanks,  
Bogdan

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 26, 2022, 1:30pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052/2 "2022-05-26T13:30:45Z")

</div>

When you convert the date to string in the log message you are capturing it as the gateway sees it in its timezone.

When you view the log message in the gateway, you just see the string value you captured, but the timestamp on the log entry itself is being displayed in your timezone (1 hour ahead of gateway).

---

<div class="post-metadata">

**Author:** ![Bogdan](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@Bogdan](https://forum.inductiveautomation.com/u/Bogdan)\
**Post date:** [May 26, 2022, 2:44pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052/3 "2022-05-26T14:44:10Z")

</div>

understood, thank you, is there a configuration that can be set to display the log entry timestamp based on time zone?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 26, 2022, 2:57pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-logs-time/60052/4 "2022-05-26T14:57:17Z")

</div>

No that’s always going to be converted to the timezone of the user/browser viewing it I think.
