CarlSchwarz

Get current client Time Zone

Discussion created by CarlSchwarz on Jul 31, 2014
Latest reply on Dec 8, 2015 by LisaClark

I just thought I'd put out there this calculation to the web of how to automatically get the current time-zone difference of the client machine (relative to UTC). And it automatically adjusts for time zones etc.

 

So for example this returns 8:00 for Perth

 

Get(CurrentTime) -

GetAsTime(
GetAsTimestamp(
Floor(Get ( CurrentTimeUTCMilliseconds ) / 1000)
)
)

 

It's something that I didn't find with a search so I thought I'd add it here for reference.

Outcomes