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( NOW(), ...
Power Automate
Answered

Convert =TEXT( NOW(), "mm/dd/yyyy hh:mm AM/PM" ) Function From Excel

(0) ShareShare
ReportReport
Posted on by

Im attempting to change the date retrieved from excel into this format: yyyy-MM-dd HH-mm. My excel file has the date in this format:

 

jiammar_1-1675205069266.png

 

Any idea?

 

Categories:
I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    You could try the ParseDateTime function.

     

  • Community Power Platform Member Profile Picture
    on at

     _

  • Community Power Platform Member Profile Picture
    on at

    Hello,

     

    Would you mind giving me an example of what that would look like in my case?

  • Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    formatDateTime('01/31/2022 03:35 PM', 'yyyy-MM-dd HH-mm')

    output: 2022-01-31 15-35

     

    Are you sure you don't want a correct ISO 8601 formatted string?

  • Community Power Platform Member Profile Picture
    on at

    Hey thanks!

     

    Im attempting a new way to do this which is:

    convertFromUtc(utcNow(),outputs('Get_a_row')?['body/timeZone'],'yyyy-MM-dd HH-mm')

     

    However now I cant get power automate to read the mountain standard time in excel!

    jiammar_0-1675270191261.png

     

  • Verified answer
    Chriddle Profile Picture
    8,443 Super User 2025 Season 2 on at
    Something like this?

     

    convertTimeZone('01/31/2022 03:35PM','Mountain Standard Time','Central Standard Time')

     

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard