Posted: 9 Jan 2018 9:41 EST Last activity: 6 Nov 2018 20:02 EST
Get the Last day of the Month in Pega Robotics
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.