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 / Converting a Text Vari...
Power Automate
Answered

Converting a Text Variable to Date

(0) ShareShare
ReportReport
Posted on by

Hi 

I have a variable that is in the format "Rundate=20230418", this Variable is called RUNDATE I wish to take the last 8 digits and put into another variable as a date format, variable called RUNDATE2. That will then go into a sharepoint list. How do I do this please?

Categories:
  • Verified answer
    ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @jamesp24 

    See my example below.  You can use the output from the last Compose action (Date for SP) as the input for a SharePoint date column

    image.png

     

    image.png

    image.png

  • jamesp24 Profile Picture
    on at

    Works a treat. Many thanks

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 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard