How to get last day value of current month?

I need to get the last day value of the current month. How to achieve this using groovy?

1 Like

Hi @jacob see the 2nd script in this topic

You just need to remove .minusMonths(1) from the last line of code to work with the current month, not the previous one.

Thanks It worked

1 Like