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 Automate / Covert date field format
Power Automate
Unanswered

Covert date field format

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi 

Im trying to format the date from the list rows where the date field is coming as 2022-01-01T00:00:00Z , and this throws error on conditions

Scenario: i had field start date in one table

Start date in another table, but when the date is same it fails

 

As one come as 2022-01-01T00:00:00Z and another as 

2022-01-01
 
 
Please help how to convert the field date from 2022-01-01T00:00:00Z  to 2022-01-01 for particular FIELD

 

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Ashwinreddy ,

     

    In the Condition control, you can use a formatDateTime expression to format all dates as 'yyyy-MM-dd'

    formatDateTime(ExcelDateField,'yyyy-MM-ddT00:00:00Z')

     

    Best regards,

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at

    Hi @Ashwinreddy ,

    Can You Show Me Screenshot of action in edit mode where you try to formatDateTime.

    If You are Using List rows present in a table of Excel Online Action, Then You Have to Set DateTime Format.

    Amit_Sharma_0-1670502907761.png

     

     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard