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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Change the date format...
Power Automate
Unanswered

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,323 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard