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 Format List r...
Power Automate
Unanswered

DateTime Format List rows present in a table

(0) ShareShare
ReportReport
Posted on by 13

Hello

I am using the List Rows Present in a Table function and want to use the DateTime format field so the date displays correctly later on in my flow. The options ISO8601 and Serial Number are given. I just want the format to be mm/dd/yyyy. 

 

Any ideas? 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @SIMIKE2016 

     

    Please follow the below steps.

     

    image.png

     

    The above expression I used is as follows:

     

    formatDateTime(items('Apply_to_each')?['DateOfBirth'],'MM-dd-yyyy')
     
    Thanks
  • mmherdz Profile Picture
    21 on at

    Hi - I tried your solution but it didn't work for me. I'm getting the below error

    mmherdz_0-1649456736380.png

    I'm not an IT person so I really don't understand it. I've been searching for the solution here. I wanted my date to be MM/dd/yyyy format and it's working in 'For a selected row' using the formatted value in dynamic content. But since I'm working on a lot of rows, I need to use "List rows present in a table". Really appreciate your help on this. 

     

    Thanks,

    Mikee

  • Ellis Karim Profile Picture
    12,051 Super User 2026 Season 1 on at

     

    ekarim2020_0-1649504856768.png

    Based on your screen shown, @abm's expression needs to be modified to reference the current apply to each loop. Try the following:

     

    formatDateTime(items('Apply_to_each_4')?['DateOfBirth'],'MM-dd-yyyy')

     

     

    Ellis

  • mmherdz Profile Picture
    21 on at

    Hi Ellis - Thanks for your help. I'm still getting an error. 😞 Please see below:

    mmherdz_0-1649950923048.pngmmherdz_1-1649950988633.png

     

  • Ellis Karim Profile Picture
    12,051 Super User 2026 Season 1 on at

    Your flow for needs to be constructed like this:

    ekarim2020_0-1649952770702.png

    with the expression in the Compose action:

    formatDateTime(items('Apply_to_each_4')?['DateOfBirth'],'MM-dd-yyyy')

     

    Please try the above and report back. See @abm 's solution below for reference.

     

    Ellis

  • mmherdz Profile Picture
    21 on at

    Hi, I just tried it again but I'm getting the below error.

    mmherdz_1-1649953774875.png

     

    I'm not sure why it is reading the date like that, as you can see here my dates are formatted as Dates.

    mmherdz_0-1649953716347.png

     

  • Ellis Karim Profile Picture
    12,051 Super User 2026 Season 1 on at

    Please confirm that the DateTime Format is set to ISO 8601:

    Snag_8f68b5.png

     

    Ellis

  • mmherdz Profile Picture
    21 on at

    Yes, that's right.

    mmherdz_0-1649955085853.png

     

  • Ellis Karim Profile Picture
    12,051 Super User 2026 Season 1 on at

    Excel stores dates as integer values eg. 44609.

    The flow is still reading the dates as integer values instead of ISO 8601 dates. Please try setting the column to Date in the Excel file then save.

     

    2022-04-14_17-56-17.gif

     

    Example integer date 44609 converted to a Date in Excel:

    2022-04-14_18-00-54.gif

     

    Ellis

  • mmherdz Profile Picture
    21 on at

    Hi - I just tried it and I dont have any errors in my flow anymore. However, in the output email, it seems that the formatting didn't work. I really appreciate your help and I'm sorry if took too much of your time.

    This is how it looked like in the email it sent out:

    mmherdz_0-1649956666031.png

     


    In my flow, here's what I did: 

    mmherdz_1-1649956686280.png

     


    Was there something wrong with the expression? 

    formatDateTime(items('Apply_to_each_4')?['Date'],'MM-dd-yyyy')
    I used 'Date' in the expression because I wanted to  apply it in the dynamic content / column "Date"

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard