Slight problem in my repeater date picker logic

Hi all. I have a repeater-based date picker that’s working well except for one thing:

The current day should be shown in the blue-circle “selected” state, but instead of selecting the 29th (today), it selects the 2nd (I’m guessing it matched the “2” then said “I’m good!” LOL). Here’s my logic:

Any ideas on how to fix it?

Hi Corey, you can swap out the expression “Now.getDay()” for “Now.getDate()”.

Now.getDay() returns the day of the week (as an index value: 0 through 6), while Now.getDate() returns the day of the month (1 to 31).

Hope this helps!

Perfect - thank you! (I should really make myself a cheat sheet of all the date functions :slight_smile: )