# Brainfart getting current time for client

**URL:** <https://forum.inductiveautomation.com/t/brainfart-getting-current-time-for-client/114186>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [February 25, 2026, 8:30pm UTC](https://forum.inductiveautomation.com/t/brainfart-getting-current-time-for-client/114186 "2026-02-25T20:30:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [February 25, 2026, 8:30pm UTC](https://forum.inductiveautomation.com/t/brainfart-getting-current-time-for-client/114186/1 "2026-02-25T20:30:39Z")

</div>

Without the ability to use `[System]Client/System/CurrentDateTime` tag, what is the most reliable way to get the current time for the user while respecting their time zone?

I would think getting the gateway's date time (server's time is set to UTC) and then adding their UTC offset would be the way to go, now I spent too much time thinking about it I am unsure. Any suggestions or hints to how you tackled this? Relying on the server's time settings also worries me somewhat.

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [February 25, 2026, 8:38pm UTC](https://forum.inductiveautomation.com/t/brainfart-getting-current-time-for-client/114186/2 "2026-02-25T20:38:57Z")

</div>

> [@Request To Fix TimeZone Transformation](https://forum.inductiveautomation.com/t/request-to-fix-timezone-transformation/109077):
>
> I know is a bit late to implement this (or to even request something). But would be nice to have correct TimeZones additions. I had an open ticket with ID #147059 if you wanna take a deeper look. play_button Brief explanation Strange behaviour. My request is simply having a nicer way (in scripting) of working with dates in UTC/Timezones.
