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 Automate
Answered

Wrong date format

(0) ShareShare
ReportReport
Posted on by 9

Hello everyone, I am bringing data from an Excel file to a list and for some strange reason there are times that I write the date correctly and others not, I would like to know why

Paabl00_0-1667496147915.png

Thaaanks

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,499 on at

    Hey @Paabl00 

     

    Yes this happens while we extract date from excel. I would suggest you watch some following videos and read links below and format the date coming from excel:

     

    https://www.youtube.com/watch?v=uFZxXMuLj-E

    https://www.youtube.com/watch?v=ZW9rw0pm7y0

    https://www.shanebart.com/ms-flow-excel-dates/

    https://www.tachytelic.net/2020/11/convert-excel-dates-power-automate/

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Paabl00,

    This is an issue related to ISO 8601.

    Not sure how you transfer the data from excel to SP list, if you use the flow, you should configure as below:

    vqiaqimsft_0-1667545643939.png

    formatDateTime(addDays('1900-01-01', add(int(items('Apply_to_each')?['Date']),-2)), 'MM/dd/yyyy'

     

  • CFernandes Profile Picture
    8,482 Most Valuable Professional on at

    @Paabl00 Try setting the ISO 8061 in the Excel "List rows present in table" and creating item in your SharePoint List.

     

    CFernandes_0-1667550278484.png

     

    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!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

     

     

     

     

  • Paabl00 Profile Picture
    9 on at

    Hi, I've been trying for a while now and it's throwing me the following error

     

    Unable to process template language expressions in action 'Create_item' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

  • PrudviThoran Profile Picture
    11 on at

    Hello, Am getting a Similar Error But I am Just Getting Yesterdays Data The function am Using Was
    formatDateTime(addDays(utcNow(), -1), 'MM/dd/yyyy')

    I have Two Flows With same thing, One of it Is working just fine, But other one Keep giving me values like '45210' Instead of Actual Date.

  • Zumbug Profile Picture
    Microsoft Employee on at

    Please try this, I had this issue internally and had the excel team investigate it, it was not clear the exact cause, but it fixed our issue.

     

    The fix was to remove the outline from the file: Data tab > Ungroup > Clear Outline.

     

    Try that and report back.

    4a7b014b-dc25-450f-a975-5da4d3854183.png
  • Zumbug Profile Picture
    Microsoft Employee on at

    We had this issue internally with one of our workbooks, we had the Excel team investigate it.

     

    The fix was to remove the outline from the file: Data tab > Ungroup > Clear Outline (must be done in Desktop Excel).

     

    Let me know if that works.

    4a7b014b-dc25-450f-a975-5da4d3854183.png

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
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard