# Show datetime for different timezone

**URL:** <https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299>\
**Category:** Ignition\
**Tags:** ignition81, perspective, scripting, python, ignition80\
**Created:** [June 20, 2023, 6:35pm UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299 "2023-06-20T18:35:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amitkumar\_Ravat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Amitkumar\_Ravat](https://forum.inductiveautomation.com/u/Amitkumar_Ravat)\
**Post date:** [June 20, 2023, 6:35pm UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299/1 "2023-06-20T18:35:34Z")

</div>

I want to show datetime for different time Zone. I have a label where I want to display datetime but the label should have datetime according to time Zone in which zone it was opened it should take local time of browser where is opened

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 20, 2023, 6:39pm UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299/2 "2023-06-20T18:39:23Z")

</div>

Project | Project Properties | Perspective General | Project Timezone:  
set it to _Client Timezone_.

---

<div class="post-metadata">

**Author:** ![Amitkumar\_Ravat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Amitkumar\_Ravat](https://forum.inductiveautomation.com/u/Amitkumar_Ravat)\
**Post date:** [June 20, 2023, 6:43pm UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299/3 "2023-06-20T18:43:44Z")

</div>

is there any other way as I am using gateway timezone for other place for this particular case I want to use for displaying while saving data to db and tag I want to use gateway timezone only

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [June 20, 2023, 6:48pm UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299/4 "2023-06-20T18:48:12Z")

</div>

The client should use the client timezone. If your project is designed correctly the data will be saved in UTC (coordinated universal time) on the gateway no matter what the timezone is on the client.

---

<div class="post-metadata">

**Author:** ![Amitkumar\_Ravat](https://avatars.discourse-cdn.com/v4/letter/a/3ab097/32.png) [@Amitkumar\_Ravat](https://forum.inductiveautomation.com/u/Amitkumar_Ravat)\
**Post date:** [June 21, 2023, 8:26am UTC](https://forum.inductiveautomation.com/t/show-datetime-for-different-timezone/75299/5 "2023-06-21T08:26:55Z")

</div>

if is stored in UTC but when I want to use that date time in different timezone for displaying how can I do?  
I don't know if I am confusing  
Project | Project Properties | Perspective General | Project Timezone:  
set it to _Gateway timezone_ .
