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 Apps
Answered

AI Reading Dates

(1) ShareShare
ReportReport
Posted on by 17
I have an AI in a flow which scans documents for the date on them, and then inputs them into an excel file.
 
It is finding the dates and inputing them into excel fine, however for some / a lot of the dates it is inputing them into excel in american formate, swaping the month and the day around for some reason.
 
I have checked that the dates are in Uk formate on the documents, and some dates are input in the Uk formate as well, it is like a 50/50 as to what formate it will be in.
 
 
Does anyone know how i can get it to only input the dates into excel in UK formate.
I have the same question (0)
  • Verified answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
     
    Thank you for choosing Microsoft Community.
     
    AI Builder often outputs dates as text, and Power Automate + Excel then “guess” the format.

    If a date can be interpreted as US (e.g., 03/07/2024), Excel flips it.

    If it cannot be US (e.g., 21/02/2024), it stays correct.
     
    To fix this, you must normalise the date inside Power Automate before writing to Excel.
     
    1. Convert the AI‑extracted date to ISO format as this removes all ambiguity.
    formatDateTime(aiDate, 'yyyy-MM-dd')
     
    2. Convert the ISO date into UK format (dd/MM/yyyy)
    This guarantees Excel receives a UK‑formatted date every time.
    formatDateTime(formatDateTime(aiDate, 'yyyy-MM-dd'), 'dd/MM/yyyy')
     
    3. Use this final value in your Excel “Add a row” action
    Excel will now always store the date correctly in UK format.

    If I've helped solve your query, kindly mark my response as the solution and like my suggestion ❤️  Your feedback supports future seekers 🚀
     
    Thanks,

    Robu1 👩‍💻

     

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard