cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Silcava
Frequent Visitor

excel to sharepoint list time and datetime

Hello i have little problem.

my flow send excel table rows to sharepoint list but  my datetime and time coming unknow format like 

Time spent 0.00217592592592593

Date with time 44017.6915740741

 what i must to ? some formula to sharepoint calculator ? or all must do in flow ? 

1 ACCEPTED SOLUTION

Accepted Solutions
v-alzhan-msft
Community Support
Community Support

Hi @Silcava ,

 

@leyburn19 's solution would work with date that don't contains time in the excel table, for the date contains time in excel table, it would be difficult and the link below could be your reference:

https://powerusers.microsoft.com/t5/Building-Flows/Excel-dates-turned-into-integers/td-p/130364/page...

 

Best Regards,

Alice

 

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

View solution in original post

2 REPLIES 2
leyburn19
Memorable Member
Memorable Member

This is a known issue with excel importing into Lists.  They way I do it is I modify the date in a few steps.

 

1. Action = Compose - Put the date you want into this step

2. Action = Compose - Use the expression  addDays('1900-01-01',int(outputs('Compose')))    - sometimes this needs to  addDays('1899-12-30',int(outputs('Compose'))) as the actual date may be two days out

3. Put the result of step two into your date field

 

You need to do this for every date field in the list

v-alzhan-msft
Community Support
Community Support

Hi @Silcava ,

 

@leyburn19 's solution would work with date that don't contains time in the excel table, for the date contains time in excel table, it would be difficult and the link below could be your reference:

https://powerusers.microsoft.com/t5/Building-Flows/Excel-dates-turned-into-integers/td-p/130364/page...

 

Best Regards,

Alice

 

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022- Season 2 has kicked off!

Users online (2,483)