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 Apps / Issues with Date Forma...
Power Apps
Suggested Answer

Issues with Date Format from Excel Online Connector

(0) ShareShare
ReportReport
Posted on by 6
Hello,
 
I am currently creating a canvas app in PowerApps and having issues with Date which is in my Excel Sheet. My data connector is through Excel Online Business, so I am importing the Data from Excel. My Excel Sheet contains of Roominformation, where you have the roomname, floor, etc... And one point is the last edited date.
 
Whenever I am creating the Edit Form and I am selecting the Room I am getting the error ""The expected value '08.11.2024 11:41' must be a valid RFC 3339 format for 'date-time'. Allowed ISO 8601 formats: 'YYYY-MM-DDThh:mm', 'YYYY-MM-DDThh:mm±hh', 'YYYY-MM-DDThh:mm'.""
 
The "Last edited" column in Excel is formatted to Date "short".
 
I can edit the entry in PowerApps, save it and it would write the date with the time into the Excel row but whenever I want to read the date in PowerApps again it does not show up and I am receiving the error.
 
I read multiple questions in this forum but none of it worked.
 
Note that my environment is in German and using the time zone in Germany.
 
Thanks!
 
Categories:
I have the same question (0)
  • Suggested answer
    jrletner Profile Picture
    720 Super User 2025 Season 2 on at

    The error you’re experiencing might possibly be due to a mismatch between the date format in your Excel sheet (formatted in "short" date style, like "DD.MM.YYYY") and the ISO 8601 date-time format expected by Power Apps when using the Excel Online connector (which expects "YYYY-MM-DDThh:mm" or similar formats).

    Here’s how to address this issue:

    You can use DateValue and DateTimeValue functions in Power Apps to reformat the date correctly before using it in your app.

    When reading the "Last edited" date field from Excel, use the DateValue or DateTimeValue function to ensure it’s formatted to the expected ISO 8601 format.

    DateTimeValue(
       Text('Last edited', "[$-en-US]yyyy-MM-ddThh:mm:ssZ")
    )

    Hope that works for you.
  • Suggested answer
    CU11111322-0 Profile Picture
    6 on at
    Okey so the dates are already in the "short" date style in Excel. Should I keep them as it is in Excel and just adjust it with the DateValue and DateTimeValue functions in PowerApps and nothing in Excel?
     
    If so where should I adjust it in PowerApps? It is an edit form and the "Last edit" is a DataCard in the Date Time Format in Power Apps. Should I adjust the Default Item for the Data Card or the DefaultDate for the DateValue? I am new to PowerApps thats why I ask more precisely.
     
    Thanks!
  • CU11111322-0 Profile Picture
    6 on at
    Okey so the dates are already in the "short" date style in Excel. Should I keep them as it is in Excel and just adjust it with the DateValue and DateTimeValue functions in PowerApps and nothing in Excel?
     
    If so where should I adjust it in PowerApps? It is an edit form and the "Last edit" is a DataCard in the Date Time Format in Power Apps. Should I adjust the Default Item for the Data Card or the DefaultDate for the DateValue? I am new to PowerApps thats why I ask more precisely.
     
    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

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard