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 / Unable to process temp...
Power Automate
Unanswered

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 'field_15' was not valid. The datetime string must match ISO 8601 format.'.

(0) ShareShare
ReportReport
Posted on by

Hi everyone, I'm trying to check a date to see if it's less than the date today.  The filed I'm passing in is field_15 which is defined as a date and time field but I get the above error. 

 

My code looks like this

 

formatDateTime('field_15', 'yyyy-MM-dd')
 
Any ideas?
Categories:
  • Mister_Shaik Profile Picture
    1,008 on at

    Hi @DForsdyke ,

     

    Can you check how is the format of your "field_15" by having a compose before the actual conversion? This will give your more visibility to check if the data you're passing to the formatDateTime expression is actually a valid date string.

     

    Hope this helps 🙂


    Kind Regards,

    Shaik Sha
    ________________________________________________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard