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 / 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
    Fredrik_A Profile Picture
    3,644 Super User 2026 Season 1 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 245

#2
David_MA Profile Picture

David_MA 216 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 212

Last 30 days Overall leaderboard