web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Error Handling
Suggested answer

can someone help me with this?

(1) ShareShare
ReportReport
Posted on by 2
Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '42184' was not valid. The datetime string must match ISO 8601 format.'.
in my excel, the data is 01/01/1991 and when i run my automate it shows 42184. i already change the format to date and still nothing happend. Please send help.
I have the same question (0)
  • Suggested answer
    Mitanshu Profile Picture
    1,644 Moderator on at
    can someone help me with this?
    1 - Ensure the Excel column is formatted as a Date before importing or using it in Power Automate
     
    2 - When using List rows present in a table action within Power Automate, make sure under Advanced Settings to change format to ISO 8601.
     
    Snag_8f68b5.png
     
    3 - If above two steps doesn't resolve your issue, then change formatDateTime to below: (dynamically replace 42184 to the value you are getting from Excel)
    formatDateTime(addDays('1899-12-30', int('42184')), 'yyyy-MM-dd')
     
     
    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If this post or my previous reply was useful in other ways, please consider giving it Thumbs Up.
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 663 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 398 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard

Featured topics