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 datetime an...
Power Automate
Answered

Formatting datetime and putting to excel not working

(0) ShareShare
ReportReport
Posted on by 7

Hi. I formatted the date and time on Power Automate when a sharepoint item is created, and write it in a row in Excel.

The excel doesn't recognize the format of it, I tried plenty of things, but couldn't get through it. 

Format in Power Automate: 

formatDateTime(parseDateTime(triggerOutputs()?['body/Created']), 'yyyy-MM-dd HH:mm:ss', 'en-US')
What it shows in the cell:
##########
What's the value of the cell:
1/27/2023 8:01:47 AM
 
Thank you!
  • Verified answer
    Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    This happens when:

    • A column isn’t wide enough to show all of the cell contents
    • Formulas that return dates and times as negative values can also show as #####

    check the output of parseDateTime(triggerOutputs()?['body/Created'])

     

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

     

    Regards

    Kaif

  • Attila1 Profile Picture
    7 on at

    Thanks, the solution was the column width! 

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard