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 / utcNow equal to failing
Power Automate
Unanswered

utcNow equal to failing

(0) ShareShare
ReportReport
Posted on by 6

Good morning,

 

I'm trying to build a flow that checks utcNow for 'MM' and, separately 'dd' to effectively create a flow that will trigger on the 1st day of a given month. The issue I'm running into is that while I can get the right output for MM and dd, my condition that checks "is equal to" always returns false. Any help on why it's showing up like this is much appreciated. Screenshots below:

 

image.pngimage.png

Categories:
I have the same question (0)
  • LeeHarris Profile Picture
    1,026 on at

    Hi @JLCPA_IT 

    Try removing the quotes around the numbers in your condition so '11' becomes 11 and see if that works. 

     

     

  • JLCPA_IT Profile Picture
    6 on at

    Hi @LeeHarris,

     

    Just tried it and still the same problem.

     

    image.png

  • LeeHarris Profile Picture
    1,026 on at

    Hi @JLCPA_IT 

    I have just tested this and managed to get it to work by changing the compose step to 

    int(utcNow('MM')) and the condition to not use quotes. With both these changes the condition was true. See if that works in your scenario.
     
  • Pstork1 Profile Picture
    69,018 Most Valuable Professional on at

    Try the following formulas instead.  For the day calculation use

    dayOfMonth(utcNow())

    and for the Month switch to using the three letter abbreviation

    formatDateTime(utcNow(),'MMM')

     That worked for me.

  • JLCPA_IT Profile Picture
    6 on at

    Thanks @LeeHarris. It did work for just one month, but once I expand to an "or" condition, it now ends up with true...

     

    image.pngimage.png

  • JLCPA_IT Profile Picture
    6 on at

    Thanks for the suggestion @Pstork1. Are the 3 letter abbreviations listed somewhere so I can check those?

     

    Specifically looking at February, May, August, and November, which I assume are Feb, May, Aug, Nov?

  • Pstork1 Profile Picture
    69,018 Most Valuable Professional on at

    Those would be the abbreviations.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 77 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard