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 / String to Date Sharepo...
Power Automate
Unanswered

String to Date Sharepoint list

(0) ShareShare
ReportReport
Posted on by 2

I have a flow that gets the items from CSV to Sharepoint. The main problem is the DATE field from CSV is in string format while the field on sharepoint is set to Date Only. Any idea on how I can fix this?

Categories:
I have the same question (0)
  • yiyingjiao Profile Picture
    Microsoft Employee on at
    Hi @yawa619 
    I used addDays method in expressions:
     
    addDays('1899-12-30', int(items('Apply_to_each')?['Birthday']),'yyyy-MM-dd')
     
    This is inside an "apply to each" loop where I went through every row in the CSV file and extracted the birthday entry which is in string format. This returns a datetime object. Here's a screenshot of the flow. Please let me know if you have any questions!

     

    Yiying Jiao

    Support Engineer

    Microsoft Power Platform

    If this post helps, then please consider accepting it as the solution to help other members find it more quickly! Have a great day!

     
    Screenshot 2022-06-09 002438.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

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard