If current day is Monday, do something

Hi there, I have an element which I only want to show on Monday. I’m using the current date and only getting the day of the week and if that value equal “Monday” I want to show something. But that’s not working. Can anyone see where I’m going wrong? Thanks

Hi there, @frazer.findlater… if I understand your post correctly, the following expression should do the trick.

monday

For reference: Operators and comparisons - Bubble Docs

Best…
Mike

2 Likes

Amazing, thanks @mikeloc - I’m guessing Tuesday would be Current date/time:extract day is 2, Wednesday = 3 and so on?

1 Like

Yup… I added a link to my response for reference.

Completely missed that! Thanks again

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.