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 / Change the date format...
Power Automate
Answered

Change the date format as dd-MM-yyyy

(0) ShareShare
ReportReport
Posted on by 43

Hi everyone

I have a cell "date" in a excel sheet which is in a date format, but on flow I have this error message when I format the date in dd-MM-yyyy: Unable to process template language expressions for action 'Condition_2' at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '44683' was not valid. The datetime string must match ISO 8601 format.

Can someone give me some advice

 

Thank you 

Categories:
I have the same question (0)
  • CU31011410-0 Profile Picture
    142 on at

    Hi,

     

    If you're after converting the date then this might help you:

    JustAPACreator_0-1653913749583.png

     

    It can be found using this method:

    JustAPACreator_1-1653913813223.png

     

    Some screenshots of your flow and data output might help others assist you as it's not easy reading what you're trying to do or your steps. You can snip and paste directly into replies.

     

  • mohamed18 Profile Picture
    43 on at

    I still have the same error message, I think it's due to the date which is provided by excel to PA as "44683" but the format is set to date on excel

  • Verified answer
    RobElliott Profile Picture
    10,428 Super User 2026 Season 1 on at

    Excel stores dates as an integer. If you are using a List rows present in a table action make sure you select the DateTime format in the action to ISO 8601.

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • mohamed18 Profile Picture
    43 on at

    Thank you @RobElliott, my flow is working fine now !!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard