# Local time in gateway

**URL:** <https://forum.inductiveautomation.com/t/local-time-in-gateway/70232>\
**Category:** Ignition\
**Created:** [February 23, 2023, 4:39pm UTC](https://forum.inductiveautomation.com/t/local-time-in-gateway/70232 "2023-02-23T16:39:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![William\_Mejia](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@William\_Mejia](https://forum.inductiveautomation.com/u/William_Mejia)\
**Post date:** [February 23, 2023, 4:39pm UTC](https://forum.inductiveautomation.com/t/local-time-in-gateway/70232/1 "2023-02-23T16:39:32Z")

</div>

Hello! a pleasure to greet you. I am having the following problem, as a context i am running ignition in an Azure virtual machine, the problem is that the local time of my gateway is not the same of my virtual machine. how do i make the gateway to have the time of my machine?

 ![Capture](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/4900b8206cf203c181d86230a05fb61ed8258605.png)

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [February 23, 2023, 4:44pm UTC](https://forum.inductiveautomation.com/t/local-time-in-gateway/70232/2 "2023-02-23T16:44:26Z")

</div>

It could be that the system timezone differs from that of your user. You can explicitly set the timezone for Ignition through the `data/ignition.conf` file: [Gateway Configuration File Reference - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference#GatewayConfigurationFileReference-ChangingCommonLocalizationParameters)

Reference the list of "TZ database names" from here: [List of tz database time zones - Wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
