I a perplexed, and hope someone can share their wisdom.
I have a sharepoint list on a site in the Eastern Time Zone.
I have users in the Pacific Time Zone that also use this same list.
I have changed the Site settings to allow the users to set their regional settings to their desired time zone. (Viewing of the list is not right for users; but that's another issue).
When a Pacific Time zone person adds data to this list, they value 3 date/time fields.
If the user selects 06/30/2021 17:00 (5pm to them) as the time.
A Flow is triggered to take the data for the item from the sharepoint list and create a file using html.
For the datetime field I do this formula:
if(equals(length(String(outputs('Get_item')?['body/Load_x0020_Arrival_x0020_Time'])),0),'',formatdatetime(convertFromUtc(outputs('Get_item')?['body/Load_x0020_Arrival_x0020_Time'],variables('TimeZone')),'MM/dd/yyyy hh:mm'))
The variable TimeZone has its value 'Pacific Standard Time'.
What comes out on my document is this: 06/30/2021 03:00
I must be missing another piece in my formula but can't figure out what it needs.
Any experts help is appreciated.