Expression to set particular day

Hello,

I see there is the ability to use the Settime function to set the calendar component to a particular time. I was able to use this successfully to set my report time to to 3am using the following: settime(now(0),3,0,0)
I would also like to set the day in the month to a particular day… say the 2nd, is there an expression I may be missing that will allow me to do this?

I think getDate should be what you’re looking for - pass a year/month/day and it gives you a Date (with no time) set to that day.

1 Like

Hello,

Thank you so much for your suggestion, it worked well.