Hi ,
I have created a flow to record requests sent to a shared mailbox to a sharepoint list. In my sharepoint list, I have created a column called 'last update' in date format which is used to record the time when the email request arrives in the mailbox.
However, only date information is saved in the sharepoint, how can I save the date and hour, minute information in the sharepoint list?
Another question is: how can I record the time in local time zone (CET time zone in this case)?
Thanks!
Hi @jeanwang
Can you confirm the type of column that yo uhave created in sharepoint? Does it have the time value enabled? Please see the screenshot below:
Now, there is regional setting in Sharepoint and then there is a convert time action in Flow. The thing here is, flow gets your email time in UTC (basically all the tie actions on Flow are configured according to UTC) and due to this you can either add an action to convert time zone from UTC to your time or you can get this in UTC and change the regional settings in your sharepoint site to your specific region. Note: Do not do the changes in both the places (i.e., do not make the timezone action in your flow and also change the time zone in regional settings in sharepoint) For a better understanding, see the screenshots below:
In the above screenshot you can see i have a flow from where I am converting the recieved time to my time zone in an action and sending that to sharepoint. Sharepoint recieves this in UTC and again converts to my timezone so I am simply changing the timezone in sharepoint to UTC just to maintain the sync. You can remove the convert action from flow here and convert the timezone in your sharepoint settings to your current time zone (makes sense?)
The above screenshots are how you can navigate to the site settings and make those changes.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Thank you very much for the explanation. I added time conversion action to my Flow. The sharepoint list shows time which is two hours more than the local time. However, when i click into the flow steps, i can see in the output section, the time is correct. Don't why the sharepont list is showing the wrong time.
Hey @jeanwang
So if you have added the time conversion action in your flow, can you please go to the sharepoint site settings and change the time zone to UTC in the regional settings? This should fix the date problem. (I have shown this in the last response towards the end)
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Hi @jeanwang ,
You could also consider using Subtract from time action to eliminate the time difference and subtract the extra two hours to get the expected date and time.
Image reference:
Please take a try.
Best Regards,
User | Count |
---|---|
87 | |
72 | |
44 | |
26 | |
25 |
User | Count |
---|---|
42 | |
24 | |
24 | |
23 | |
18 |