cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
shanemeisner
Helper V
Helper V

Hour shows correctly in SharePoint list, but converts to Time zone of user when opening I PowerApp

I have an App that users use to report their Overtime hours.
As we just want hours, not dates, we setup dropdowns with the Items set to: ["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23"]  

 

For the Default we have this formula: Text(Hour(ThisItem.'Start Time1'),"[$-en-US]00") Where "StartTime1" is a Date/Time field.

In SharePoint the hour selected show correctly for all regardless of the Time Zone they are in.
But when displaying that value in PowerApps, it converts it to the persons Time zone they are in.
In SharePoint:

shanemeisner_0-1626100655865.png

When I open the item in PowerApps ( Central Time Zone) I see:

shanemeisner_1-1626100704719.png

Co-Worker in Eastern Time zone sees:

shanemeisner_2-1626100757657.png

Tried multiple "Timezoneoffset" and "DateAdd" formulas to no avail.

If I can get it to display correctly for all(regardless of what Time Zone they are in), then I'll add a note to have users enter the time in Eastern Time Zone Time to keep it consistent. 

1 REPLY 1
DylanSimons
Resolver III
Resolver III

I think if you store this value as a DateTime field, there is not easy way to disable the timezone feature.

 

could you store it as Text instead in Sharepoint? Or you can hard-code the default to be "06"?

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,685)