cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Excel Dates turned to Integers then put into SharePoint List

My flow is on a recurring basis. First I am listing rows present in a table with Excel Business Online.

 

My flow is running successfully, but all of the dates in SharePoint Calendar List are one day too many. For example: The date is supposed to be 1/13/20 and it is being brought in as 1/14/20.

 

I am using the following expression for the Start and End Times: addDays('1900-01-01',int(items('Apply_to_each_2')?['Start Date']))

 

I tried to change it to 1900-01-00 as the start date, but Flow will not accept that. 

 

Wondering if there are any other work around options.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Excel Dates turned to Integers then put into SharePoint List

 

Hi @michaelenck ,

 

Please try to replace 1900-01-01 to 1899-12-30.

 

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.

View solution in original post

3 REPLIES 3
Highlighted
Regular Visitor

Re: Excel Dates turned to Integers then put into SharePoint List

2019-12-05_11-39-59.png

Highlighted
Super User III
Super User III

Re: Excel Dates turned to Integers then put into SharePoint List

Hi,

Use this expression instead
convertToUtc()
Here is an example from one of my flows, my local time is MST, and I am using a variable to store the date. So my expression will look like:

convertToUtc(variables('varTaskDueDate'),'Mountain Standard Time')

I hope this helps.

Thanks,
-Josh




Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up ?


Proud to be a Flownaut!





Highlighted
Community Support
Community Support

Re: Excel Dates turned to Integers then put into SharePoint List

 

Hi @michaelenck ,

 

Please try to replace 1900-01-01 to 1899-12-30.

 

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.

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (8,252)