# \[BUG\] Perspective Format DateTime transform not detecting timezone

**URL:** <https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [February 24, 2020, 3:07pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541 "2020-02-24T15:07:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [February 24, 2020, 3:07pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541/1 "2020-02-24T15:07:46Z")

</div>

I have a Format DateTime transform that is taking a timestamp in UTC and formatting it. If I set the timezone to `America/Chicago`, it changes the timezone as expected to the actual time being represented. However, if I set it to `auto`, it keeps it as the UTC time.

I’m almost certain that there’s something wrong with how the Format transform is working, because if I have this exact same data put into a _table_, it renders just fine as if the timezone were `America/Chicago`, so it’s clearly auto-detecting the timezone properly in the table.

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [February 24, 2020, 4:56pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541/2 "2020-02-24T16:56:49Z")

</div>

![timezone](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/02839077d0a66d4d7f9205f8c8db33dc9245ef93.png)  
The `auto` setting on the datetime transform defaults to the setting set here, which by default is set to the gateway timezone. Changing this will require that you save and start a new session.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [February 24, 2020, 5:09pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541/3 "2020-02-24T17:09:52Z")

</div>

So there’s no way to detect the browser’s timezone? Is there a way to make the timezone input to the Format transform be bindable? This is kind of inconsistent because of how Table components automatically figure out the browser’s timezone - at least it seems - when using datetime columns.

My use-case here involves an IoT-type system that could involve a wide variety of timezones being used, and it’d be nice to have some ability to change this more dynamically.

---

<div class="post-metadata">

**Author:** ![osolorzano](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/osolorzano/32/6432_2.png) [@osolorzano](https://forum.inductiveautomation.com/u/osolorzano)\
**Post date:** [February 24, 2020, 5:12pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541/4 "2020-02-24T17:12:08Z")

</div>

The setting “Client Timezone” is the browser timezone.

---

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [February 24, 2020, 5:12pm UTC](https://forum.inductiveautomation.com/t/bug-perspective-format-datetime-transform-not-detecting-timezone/32541/5 "2020-02-24T17:12:47Z")

</div>

Oh I didn’t notice that. Thank you!
