cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jeanwang
Level: Powered On

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
Dual Super User
Dual Super User

Re: How to record data and hour in sharepoint list

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: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!

jeanwang
Level: Powered On

Re: How to record data and hour in sharepoint list

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.

 

Dual Super User
Dual Super User

Re: How to record data and hour in sharepoint list

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!

Community Support Team
Community Support Team

Re: How to record data and hour in sharepoint list

 

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:
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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,683)