Number of days in a month

Hello everyone!

Quick question. How do I get the number of days that the current month has?

Thank you

1 Like

You can use this logic in a text.
Current Date → extract ->month

Hello @hafizaliimrankhan !

But that would actually give me the number of the current month. For example, now in july, it would return number 7, but actually what I want is Bubble to return 31 since july has 31 days

This suggestion might seem a bit hacky, but it works.

days

Best…
Mike

5 Likes

That did work @mikeloc. Thank you!

How did you manage to write the parenthesis to establish the mathematical order of operations?

1 Like

Ah, that’s the experimental parentheses feature… check it out for sure.

Did not about this!

This actually works for others features I’ve been working on!

Thank you very much @mikeloc

1 Like