cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jswanson1
Level: Powered On

Formatting for month and day of a date, but keeps putting year

pdp flow 2.PNGPDP FLow 1.PNG

It keeps pulling the year, so it reads everything as false and doesn't trigger. I even tried the template for sending birthday messages and that seems to pull the year too, rather than just the month and day.

3 REPLIES 3
PowerBack19
Level 8

Re: Formatting for month and day of a date, but keeps putting year

I noticed in your Condition that you are comparing the formatted Hire Date to the utcNow(). Have you tried formatting the utcNow() to match the formatting of your Hire Date?

 

For example: 

formatDateTime(HireDate, 'yyyy') is equal to formatDateTime(utcNow(), 'yyyy')
Highlighted
Jswanson1
Level: Powered On

Re: Formatting for month and day of a date, but keeps putting year

I'm trying to compare the month and say of the date to the month and day of today. It's for their anniversary.

Community Support Team
Community Support Team

Re: Formatting for month and day of a date, but keeps putting year

Hi @Jswanson1,

 

The output of  "compose" shows the date that has not formatted, so it will be "2019-08-14".

In the expression of the condition, it will be "08-14", so take it easy, for example:

Annotation 2019-11-19 144511.pngAnnotation 2019-11-19 144534.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,258)