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 / Extract Month, Day, an...
Power Automate
Answered

Extract Month, Day, and Year from Excel table in Power Automate DESKTOP

(0) ShareShare
ReportReport
Posted on by 31

I can read a date from a table in Excel and convert using "Convert text to datetime" to produce a variable, but need to find the day, month and year so I can populate a custom date picker.  I have found solutions for cloud flows, but not for a desktop flow.

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    After converting text to datetime, you can convert datetime to text and make a different variable for each one:

     

    So, if datetime is 3/1/23, all the convert to text would be the following:

    yy=23

    yyyy=23

    M = 3

    MM = 03

    MMM = Mar

    MMMM = March

    d = 1

    dd = 01

     

    Good luck!

  • Verified answer
    Aakashch_1998 Profile Picture
    40 on at

    Hi @RedCoatinOhio1 

    You can fetch Day, Month ,Year from Output Variable Property (Output variable of Convert Text to Datetime Action)
    Screenshot (7).png

     

    Thanks & Regards
    @Aakashch_1998 

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard