Day date Even or Odd?

Hello.
How to know if the day of a date is even or odd?
Thank you

Hi Abaudin,

One of the built in functions Modulo will be able to help you with this: https://bubble.io/reference#Data.Messages.number.modulo

First you’ll need to extract date from the date value you have, then you can perform modulo.

If the value is 0, it’s even. If the value is 1, it’s odd (assuming you use 2 as the operator).

Tony

3 Likes

Thanks :wink: My brain was away…