cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to record data and hour in sharepoint list

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!

 

flow.PNG

4 REPLIES 4
yashag2255
Dual Super User II
Dual Super User II

Hi @Anonymous 

 

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:S1.PNG

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:S2.PNG

 

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?)

S3.PNG

 

S4.PNG

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!

Anonymous
Not applicable

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 @Anonymous 

 

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 @Anonymous ,

 

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:
103.PNG

Please take a try.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors
Users online (1,184)