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 / Formatting Date and Ti...
Power Automate
Answered

Formatting Date and Timestamp to Excel

(0) ShareShare
ReportReport
Posted on by 15

Trying to run a flow for logging my working hours (started using the formatting from the template) and am getting the date and time in weird formats. I'd love the date, when manually triggered, to appear in MM/DD/YYYY format and the time to just appear as HH:MM in a 12 hour format. At the moment the Key-button-timestamp button gives me the date as well as time down to the second and I can't figure out how to format the output. 

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Celdere,

     

    Do you want to formate the datetime from timestamp with type 'MM-dd-yyyyTHH:mm'?

     

    If you would like to formate the datetime from timestamp with type 'MM-dd-yyyyTHH:mm',you could refer to screenshot below to create the flow:

    Capture.PNG

     

    The expression in the Compose 2 as below:

    formatDateTime(outputs('Compose'),'MM-dd-yyyyTHH:mm')

    The flow would run successfully as below:

    Capture.PNG

     

     

    Please let me know if your problem could be solved.

     

    Best regards,

    Alice

     

     

     

     

  • Verified answer
    Celdere Profile Picture
    15 on at

    Made it work using the DateTime convert timezone function. Thanks!

  • GrischkePro Profile Picture
    287 on at

    You're a waste of space!

     

    If you got it working, why didn't you say how? Delete this thread!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 410

#2
Vish WR Profile Picture

Vish WR 289

#3
David_MA Profile Picture

David_MA 282 Super User 2026 Season 1

Last 30 days Overall leaderboard