How to find the first and last working day of the month
I have a small requirement to find the first and last working/business day of the month. Is there any pega OOTB function exists for this scenario. if not, please help with any other idea(java code) to achieve the same.
Sample Input : Year & Month ( 2019 & Nov )
Expected first and last business day of Nov 2019: 01-Nov(friday) & 29-Nov(friday).
Keep up to date on this post and subscribe to comments
- How to find Months and remaining days between 2 dates
- Add one month to date, but keep exact same day or last day of the month if higher
- Number of months between 2 java.util.Date, excluding day of month
- how to find next business day and also current day is business day or not
- Run agent on last business day of the month