I would like to get the Last day of the current month within Pega Robotics. I will be able to do this with a complex and very longwinded automation however I am wondering whether there is a quicker way.
I would write this as C# inside the script component. You can probably use the DateTimeUtils as well by concatenating the various parts together and converting back to a DateTime (month, year, and DaysInMonth property). If you perform a web search for "C# last day of month", you can locate many suggestions.