We've created thousands of records over the last year, with no similar problems.
The user enters a record via a Canvas app. The App mostly displays the correct entered dates for them and sends a confirmatory email with the correct dates showing (i.e. on reading the record, the email correctly gives the correct date, as entered).
When viewed centrally, however, the dates generally show as the previous day and indeed act as that day
Even more oddly, I viewed the Power Automate that ran a "Get Items" against one of these records at 8:10 (BST) this morning, which showed the date as 28th July
…but when I ran the same process against the same record at 2pm, it shows as the 29th:
…thus even within my own observation, the date appears to have changed!
They have the same ID, so are clearly the same record and it hasn't been amended
The user is in France on CEST
I and the account that runs the flow are based on BST, so only 1 hour difference, thus a timezone issue seems unlikely, particularly during the middle of the day
The user was using Firefox on Linux and then tried Chrome on Ubuntu. Both seemed to produce mixed results in displaying the selected date
The tenancy is in EMEA
Does anyone have any suggestions for further investigation or causes?
Hi @BillYoung-arm :
This is caused by the Regional Settings of the SharePoint site.
The date/time values in all lists in the SharePoint site default to local time. If the time zone set by your SharePoint site is UTC+1, then the time saved in your List is the time with a date offset (+1h). The reason for the problem you mentioned is because flow obtains the converted UTC time (reduced by 1h).
Thanks for the reply v-bofeng-msft
Site is UTC(Dublin, Edinburgh....) though, so we're plus one hour difference (BST) and our user is +2 hour diff (CEST)
If creating record in the first or last couple of hours of the day, I could understand but it was created at 8:10 (firmly into 29th July, but logged as 28th) and then seemingly changed by 14:00, so I don't think this would happen.
If you think so, please let me know
Thanks for the reply.
I'm not seeing how this helps as the video refers to dates in Excel, stored as a number but AFAIK, this isn't how a SharePoint date field works.
If I run an int against the date, I get:
The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'
Am I missing something?
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!