Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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 

  • mohamed18 Profile Picture
    43 on at
    Re: Change the date format as dd-MM-yyyy

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

  • Verified answer
    RobElliott Profile Picture
    10,166 Super User 2025 Season 1 on at
    Re: Change the date format as dd-MM-yyyy

    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
    Re: Change the date format as dd-MM-yyyy

    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

  • CU31011410-0 Profile Picture
    142 on at
    Re: Change the date format as dd-MM-yyyy

    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.

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1