web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    Re: utcNow equal to failing

    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
    Re: utcNow equal to failing

    Hi @LeeHarris,

     

    Just tried it and still the same problem.

     

    image.png

  • LeeHarris Profile Picture
    1,026 on at
    Re: utcNow equal to failing

    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
    68,678 Most Valuable Professional on at
    Re: utcNow equal to failing

    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
    Re: utcNow equal to failing

    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
    Re: utcNow equal to failing

    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
    68,678 Most Valuable Professional on at
    Re: utcNow equal to failing

    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

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
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard