cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RockyRocks
Helper I
Helper I

Gmt label based on local timezone

Hi Team, need immediately help to know the user location as IST or PST or AEST based on the user location

 

I have a timezone column field to patch the current time zone as IST or PST or AEST based on the user submits request. 

 

Please help

1 ACCEPTED SOLUTION

Accepted Solutions

The built-in function for TimeZoneOffset will help to accomplish this.

For example, using Now() and then dividing by 60 (to get hours), we can determine the offset.
I am in EDT (Eastern Daylight Time), which is currently UTC-4.

TimeZoneOffset(Now()) / 60)

This returns a positive 4, so you will need to play around with the formula a bit to ensure its doing it in a relative manner.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-dateadd-datediff

Then the UTC list, for reference.
https://en.wikipedia.org/wiki/List_of_UTC_time_offsets

 

View solution in original post

2 REPLIES 2
RockyRocks
Helper I
Helper I

Team, help required atleast to know the UST + 5:30 or GMT +3:30 is also helpful

The built-in function for TimeZoneOffset will help to accomplish this.

For example, using Now() and then dividing by 60 (to get hours), we can determine the offset.
I am in EDT (Eastern Daylight Time), which is currently UTC-4.

TimeZoneOffset(Now()) / 60)

This returns a positive 4, so you will need to play around with the formula a bit to ensure its doing it in a relative manner.

https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-dateadd-datediff

Then the UTC list, for reference.
https://en.wikipedia.org/wiki/List_of_UTC_time_offsets

 

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (48,848)