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 / Birthday email flow ma...
Power Automate
Answered

Birthday email flow matching any date instead of just month and day MM/dd

(0) ShareShare
ReportReport
Posted on by 17

Hello Everyone,

I have a flow that is matching any 4 characters of the output to the birthday.  For example, the Getdatetime output is 02/19.  The email notification will go out to all dates with any of the 4 characters like 06/02/1974.  Is there any way to only match the MM/dd?

 

BHarTT_1-1645463817711.png

 

 

BHarTT_0-1645463777274.png

Thank you in advance.

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

    @BHarTT 

    Try this:

    image.png

     

    SharePoint stores dates internally as yyyy-MM-dd 

    I noted that you have almost 5000 items in the list - Flow can't retrieve more than 5000 items unless you have a premium license.

    It would be better if you added two additional columns to the list - one for the month and another for the day of the birthday.  Do not make them calculated columns - have a Flow populate the new columns.  If you do so, then you can use an OData filter query which would be much more efficient.  

    I tried solving your issue using substringof and endswith in an OData filter but was not successful.

  • BHarTT Profile Picture
    17 on at

    Hi ScottShearer,

     

    Thank you for that.  I am testing and will have the results on the next run tomorrow morning.  I will report back then.

     

  • BHarTT Profile Picture
    17 on at

    Hi ScottShearer,

     

    I ended up using MM/dd/ in the formatDateTime since that is how they are coming out in the Get Items export for that column.  It seems to have done the trick but I won't know for sure until the 19th and 20th of next month.  Thanks for your help, and I will mark as answered once confirmed.

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 414

#2
11manish Profile Picture

11manish 331 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard