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

Community site session details

Session Id : SF7bE/5/eR/h56KPfV2woK
Power Automate - Building Flows
Answered

Change the date format as dd-MM-yyyy

Like (0) ShareShare
ReportReport
Posted on 30 May 2022 12:13:03 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 30 May 2022 at 14:02:29
    Re: Change the date format as dd-MM-yyyy

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

  • Verified answer
    RobElliott Profile Picture
    10,173 Super User 2025 Season 2 on 30 May 2022 at 12:48:40
    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 30 May 2022 at 12:42:36
    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 30 May 2022 at 12:29:18
    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete