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 / some CreatedDate in ex...
Power Automate
Answered

some CreatedDate in excel are showing wrongly as mm/dd/yyyy instead dd/mm/yyyy

(1) ShareShare
ReportReport
Posted on by 1,875 Season of Giving Solutions 2025
I have this workflow to get items from sharepoint and build an excel sheet file and table:-
 
Inside "Select related Data 2' i am using this format for the created date `if(empty(item()?['Created']),'',formatDateTime(item()?['Created'],'dd-MM-yyyy'))`.
 
 
now when i get the excel sheet , i can see that some dates are showing correctly as dd/mm/yyyy for example 13 Febrauary 2025, while other are showing as mm/dd/yyyy.. so we have items created on 2 November 2025 (which is in the future).. as follow:-
 
 
 
my local setting on the PC following the UK format, and also the site regional setting .. and the date will be returned in the following format from the Get Item action:-
 
 
 
 
so why some excel rows have the date format wrongly? Thanks in advance for any help.
 
Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,689 Super User 2026 Season 1 on at
    Simply don't format the date 😉
     
  • johnjohnPter Profile Picture
    1,875 Season of Giving Solutions 2025 on at
    @Chriddle will this fix the issue? and how? i need to format mainly to remove the time.
     
  • Suggested answer
    Tomac Profile Picture
    4,055 Moderator on at
    @johnjohnPter When you select the Created column in Excel, is the format for these cells set to Short D
    If so, it will use your Windows date format for display. My guess that the first 26 rows in your sheet are set to the correct format but not the entire column.
  • Verified answer
    Chriddle Profile Picture
    8,689 Super User 2026 Season 1 on at
     
     
    @Chriddle will this fix the issue? and how? i need to format mainly to remove the time.
    The Excel connector expects either ISO 8106-formatted date strings or the American date format.
    Therefore, the day and month in your Excel spreadsheet were swapped, and dates from the 13th onward were not recognized as dates and therefore remained unchanged but left-aligned in the Excel cell.
     
    So if you really want to truncate the time, use formatDateTime(item()?['Created'],'yyyy-MM-dd') or use startOfDay(item()?['Created']) to set the time to 00:00.
     
  • johnjohnPter Profile Picture
    1,875 Season of Giving Solutions 2025 on at
    @Chriddle seems formatDateTime(item()?['Created'],'yyyy-MM-dd') did the trick , thanks

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 976

#2
Valantis Profile Picture

Valantis 863

#3
Haque Profile Picture

Haque 547

Last 30 days Overall leaderboard