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 / String column to date ...
Power Automate
Unanswered

String column to date in Json

(1) ShareShare
ReportReport
Posted on by 8

Hi guys,
With Power Automate, I save attachments from outlook to sharepoint library. This is an excel file. Then I create a table by saying create table. Then I get the whole list by saying list rows. Compose has the value of the entire list. I make the json value that comes out of here parse json content. However, in excel, the date column appears as a custom. The data for 08/06/2024 appears as 45521 in Compose. How do I convert this to date format ?
Here is my flow.

mstf042_0-1719931910504.png

Json Schema is:

{
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "@@odata.etag": {
                "type": "string"
            },
            "ItemInternalId": {
                "type": "string"
            },
         
            "Son Hareket\nTarihi": {
                "type": "string",
                "format": "date string"
            },
            "İst_x002e_Var_x002e_": {
                "type": "string",
                "format": "date string"
            }
        },
        "required": [
            "@@odata.etag",
            "ItemInternalId",
            "Son Hareket\nTarihi",
            "İst_x002e_Var_x002e_"
        ]
    }
}

Here is my excel file.
mstf042_0-1719932431638.png

 


Please help me.
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @mstf042 When working with dates and times and List Rows Present in a Table action, you need to ensure you select ISO8601 as the DateTime format. Otherwise it'll output a serial date.

    creativeopinion_0-1719934638884.png

     

    You may be interested in this YT Tutorial: 

    How to Work with 📆 Dates in Power Automate | Example Scenarios and Tips & Tricks

     

    Are you easily stumped when working with Dates in Power Automate? In this Power Automate tutorial, I’ll show you how to compose an expression that will return a future date, a past date, how to count the number of days between two dates, how to check for a birthdate and anniversary date as well as tips and tricks when working with dates in Power Automate.

     

    I’ll cover some common use cases and concepts that can help you to build better Power Automate flows. Feel free to skip ahead using the timestamps listed below. I’ve also linked a few other tutorials that you might be interested in as well.

     

    IN THIS VIDEO:

    ✅ 4 Date Functions You Need to Know

    ✅ How to use the Convert Time Zone Action

    ✅ How to Get a Future Date

    ✅ How to Get a Past Date

    ✅ How to Return SharePoint Items Due in a Number of Days

    ✅ How to Return SharePoint Items Due within a Date Range

    ✅ How to write a Filter Query for SharePoint Items Due in 30, 60 and 90 Days

    ✅ How to Calculate the Number of Days between Two Dates

    ✅ How to Check for a Birthdate and Anniversary Date

    ✅ How to work with Dates and Times in Excel

    ✅ How to use a Manual Trigger with Date Input

    ✅ How to Output Dynamic Text with an Expression

    ✅ How to Check if a Date Falls on a Weekend

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram

     

  • CU02011135-0 Profile Picture
    8 on at

    Hi,

    Thank you for reply. In my case I set ISO 8601. But it is not running.

    mstf042_0-1719934909935.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