cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,209)