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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (74,826)