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:
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.
Can you confirm what do you mean by this? What setting are you referring to?
"I have changed the Site settings to allow the users to set their regional settings to their desired time zone"
Please note that SharePoint stores all times in UTC format. So when User from Pacific stores data as 5 PM their time, SharePoint writes it in UTC format. If you are intending it to convert it, you can convert it to Pacific time.
Use this action and see if it is helpful. In my case, I have Site Settings set to Pacific so everything displayed within the site is in pacific time. I am in Eastern time zone and I saved the date as 8:05 AM. Now when I convert it as below, I am getting 8:05 AM back.
Compose below shows saved date in UTC format as is without any formatting.
Convert now shows converted date in Eastern Time zone.
Site setting - my brain is frazzled - ignore that statement earlier.
Here are some screen shots of what I have going on.
I did add the Convert TimeZone action in my flow.
The west coast user enters in 17:19 (5:19 pm)
The Sharepoint List shows this
I have this step in my flow
I get this as the result
I also tried this - just convert it to Eastern Time.
I just want it to say 5:19 pm - I could subtract an hour but will that work everytime?
Which time zone you are interested in? Is it Pacific US? If yes, Can you use Pacific time US Canada?
I see that you selected something that is giving pacific time Mexico...
Can you tell me where is the user? in Pacific time Mexico? Because I see an issue in offset. 6/30 5:19 PM should be saved as 7/1 1:19 AM since its an 8 hours offset. But in your screen shot it shows based time as 22:19 which is just 5 hours offset.
Can you add a compose just before convert time and map Load start time and upload picture?
Thank you PrasadAthalye for sticking with me. Much appreciated!
I went back to beginning. I think because I am in the Eastern time zone and testing this I was not mimicing things as my west coast user correctly.
My Sharepoint Site settings
My regional settings
my browser settings
My data entry form.
SharePoint List View of dates entered.
The flow test results of convert.
Got it to show me the correct time!
Now I need to get my west coast user to test it out and make sure it converts correctly.
Please note that Regional Settings apply to entire site. It is not a User level setting.
I have a similar issue. I want to keep the time exactly as entered. no conversion. I am running a vehicle request app. The headquarters is in Pacific time (where the SP system is set to Pacific Time) but i have people in all 4 time zones across the US. If someone in Ohio (Eastern Time) asks for a vehicle at 9am at the Cleveland airport, it is translated to 6am in the sharepoint list. I just want the time to stay exactly as entered. No conversion of any type. Any thoughts?
@SmithEdwards Did you ever find a solution to this? I am doing something very similar and having the same problem, I am creating a vehicle booking app in powerapps and having date/time issues. Was thinking maybe I could use Flow to resolve the problem but can't find a solution anywhere
If you use a datepicker in powerapps to populate a text column in sharepoint, it will just populate it with the exact test as received from the app.
Only when you define the column as date/time will you run into issues with timezones/savingstimes/etc
Sadly I'm populating a calendar with events so using a text field won't work for me unless I use an SP list and create a calendar view. Unfortunately I've been asked to get this working in a calendar because the calendar view on a list only shows a week view and they want to see a monthly view of the calendar. I'm really tearing my hair out, I just want Powerapps to ignore the users local timezone.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!