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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,051)