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 / Convert text to dateti...
Power Automate
Answered

Convert text to datetime not working

(0) ShareShare
ReportReport
Posted on by 7

Im fairly new to Power Automate and I've been struggling over something which seems very simple. For some reason ' Convert text to datetime'  is not working as I want it too. I want to convert the date which is saved in Datum1 as dd-M-yyyy hh:mm:ss. I've tried running several custom formats which don't work. 

 

The datum1 is a Dutch/European time definition whereas the laptop that runs RPA runs on English (US). I feel that must be the root of the problem but don't know how to solve it. It's not possible to change the language of the laptop that runs RPA because there are already several flows running on it.

1.PNG
3.PNG
2.PNG
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @CBeeren 

     

    The action convert text to datetime expects the custom format the format in which date is written in text variable not the format you want as output. 

    like below

    Nived_Nambiar_0-1680524421774.png

     

    To represent date in particular format you can try convert datetime to text after using above action like below

    Nived_Nambiar_1-1680524473045.png

     

     

    Hope this helps 🙂

    Mark it as solution if it resolves your query 🙂

     

  • CBeeren Profile Picture
    7 on at

    Thank you so much! 

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 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard