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 / Date Conversion dd MMM...
Power Automate
Answered

Date Conversion dd MMMM yyyy to yyyy-MM-ddT00:00:00

(0) ShareShare
ReportReport
Posted on by 4

Hi All, 

 

I am extracting information from certain formatted PDF Documents - Flight Tickets - to import this to a Calendar. 

Everything is working as it should, but I cannot get the date conversion to work. I have searched through many a forum, and I might just not understand how to get it done. I have very limited programming knowledge, so I need someone to explain in laymans terms how to get it right. 

 

Total Flow.JPGThis is an overview of my flow. I would assume I need to know which information needs to be supplied for Initialize Variable, and for Set Variable, and then I need an outline of which Formula to use when I format the Start Time and End Time for the event that I am creating. 

 

The Dates from the Flight Tickets come in 01 January 2022 or 12 October 2022 format, and I need them changed to 2022-01-01T00:00:00 or 2022-10-12T00:00:00. 

 

Please let me know if there is any other information required. 

Categories:
I have the same question (0)
  • Verified answer
    StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at

    Hello,

     

    try the following

    formatDateTime('<your-value>', 'yyyy/MM/dd hh:mm tt')
  • laserdash Profile Picture
    4 on at

    So I now found out it actually formats itself, and the document I used did not read correctly with the AI Builder, hence my issue, but this above did format my date as I requested, Thank You very 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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard