Disable button if it is not 1st of October (enable button every year only on 1st of October)

I think my question is banal but I cannot crack it.

I would like to disable a button every day in a year EXCEPT every year First of October.
The use case is that I want to send out a reminder email every year and I set up a button to push with an automation and I want to enable this button only on First of October every year so the reminder is sent once per year. :slightly_smiling_face:

Can you help me out with the right formula in the “Disable if” field?

Thanks in advance!

Hi Tamas.

You don’t have to disable the button in order to get it to work the way you want.

Option 1
You can have the automation run every day, and if the date is Oct 1st, then it does not proceed to the action.
You can achieve that with

Not(
  Today().Month() = 10 
  AND Today().Day() = 1
)

Option 2

You can use the same logic in the formula Disable if section.

It’s probably worth doing both, to be sure

1 Like

Thank you so so much! I couldn’t crack what is the correct formulation for October and 1st :slight_smile: :slight_smile: Now it works like a charm!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.