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 / 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

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard