How to fix Date Conversion Power Automate Flow

Dale Davis 20 Reputation points
2025-01-20T15:36:08.27+00:00

I just started a Power Automate Course and I'm having trouble with the first example, which is for Date Conversion. When I run the flow is says, "the provided text can't be converted into a valid datetime". The only difference I can find between my flow and the one in the instructions is that the "Text to convert" box only shows a variable({X}} tag on mine, and the one online shows a variable and function tag. Please help.

User's image

User's image

This question is related to the following Learning Module

Community Center | Not monitored
0 comments No comments
{count} votes

Answer accepted by question author
  1. Syed Saleem Peera 13,100 Reputation points Microsoft External Staff Volunteer Moderator
    2025-01-20T17:09:16.2466667+00:00

    Hi Dale Davis,

    Thank you for reaching out on the Microsoft Q&A forum.

    We’ve tested the flow on our end, and it's working fine. Please refer to the screenshot below for the correct setup.User's image Ensure that the date input is in the European format (dd/MM/yyyy) and that the variable is correctly applied in the 'Text to convert' field. If the issue persists, kindly double-check the input values and ensure there are no inconsistencies in the variable.

    If you are still facing any issue, please let us know in the comments and where you are encountering this error along with the screenshot for reference. We are glad to help you.

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    Thank you.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.