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 / datetime string must m...
Power Automate
Suggested Answer

datetime string must match ISO 8601 format

(0) ShareShare
ReportReport
Posted on by
Hello I keep receiving an error message when running a test flow that says: "Unable to process template language expressions in action 'Birthday_MMDD' inputs at line '0' and column '0': 'In function 'parseDateTime', the value provided for date time string '13-03-1979' was not valid. The datetime string must match ISO 8601 format.". 
 
I've changed the date format but it keeps coming back. I don't know what to do anymore.
 
Did someone experience the same problem and could help?
Categories:
I have the same question (0)
  • Suggested answer
    Patel Asutosh 27 Profile Picture
    31 on at
    Can you please share a screenshot of the action so we can better understand the issue?

    Also, if you are using Excel, please ensure that the DateTime format has been changed to ISO format.
     
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    The ISO date standard is used throughout the Power Platform. Actions involving dates expect the date to be in this format, which is yyyy-MM-ddThh:mm:ssZ. You can learn more about this standard at https://learn.microsoft.com/en-us/power-automate/date-time-values#format-date-and-time. This page provides information for getting your date into the ISO format.
     
    And as @Patel Asutosh 27 mentioned, if the date is in Excel be sure to check the ISO date format option or you'll need to convert the Excel serial date to ISO first: addDays('1899-12-30',int(triggerBody()['number_1']),'yyyy-MM-dd')
  • Chriddle Profile Picture
    8,708 Super User 2026 Season 1 on at
    parseDateTime('13-03-1979', 'es-es', 'dd-MM-yyyy')
    returns '1979-03-13T00:00:00.0000000'
  • Chriddle Profile Picture
    8,708 Super User 2026 Season 1 on at
    To get '0379' use the following:
    formatDateTime
    	parseDateTime('13-03-1979', 'es-es', 'dd-MM-yyyy'),
    	'MMyy'
    )
     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard