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 / ANOTHER time format is...
Power Automate
Unanswered

ANOTHER time format isssue

(0) ShareShare
ReportReport
Posted on by
Hi I had this working before but now I can't get it back again and hoping someone can help me out. I have a form submitting a "time" field in the format HH:mm:ss TT which is fine because I'm using it to create an event. In certain parts of my flow, I'm converting it to try and display HH:mm tt for ease of reading for the end user but whenever I do that the minutes always get returned as :00 AM/PM So, 08:45:00 AM comes back as 08:00 AM Does anyone have any idea why? Thank you!
Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Could you please share a screenshot or more details about your form?

    Could you please share a screenshot of your flow and the run history of your flow?

     

    I have made a test on my side and don't have the issue that you mentioned.

     

    I have created a form as below:

    Capture.PNG

     

    Then I have created a flow as below:

    Capture.PNG

     

    The expression in the Compose 2 as below:

    formatDateTime(outputs('Compose'),'HH:mm tt')

    The flow would run successfully as below:

    Capture.PNG

     

    Please ley me know if your problem could be solved.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-yuazh-msft

     

    Thanks for your help again!

     

    Okay, in order I have, Form, convert flow, convert output and run history:

     

     Form.JPGPick up.JPGConvert.JPG

     

    Run history.JPG

    The flow runs successfully but doesn't convert the time correctly.

     

    Let me know if you need anything else.

     

    Thank you!

  • v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    Please refer to my screenshot flow if the  question "time" is a choice question don't allow multiple answers.

     

    Please take a try with my workaround and let mw know if your problem could be solved.

     

    Best regards,

    Alice

  • Community Power Platform Member Profile Picture
    on at

    If anyone is interested in the solution to this, in my form I had the pick up time written as "07.15.00 AM" which returned "07:00 AM".

     

    If I changed the form to have colons in between the numbers like so "07:15:00 AM", or even "07:15 AM", it appeared to then return the minutes correctly.

     

    Thank you

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