web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel Dates turned to ...
Power Automate
Answered

Excel Dates turned to Integers then put into SharePoint List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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.

 

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • Jcook Profile Picture
    7,781 Most Valuable Professional on at
    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
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Anonymous ,

     

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

     

    Best Regards,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard