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 / 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.

I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 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

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

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard