Finding the first working day of the month
I am trying to create a calendar. In this calendar I need to pull out the first working day after day X.
For example : I have a module with holidays, working days etc. as booleans and on the other side I have 1st of january 2nd etc.
Let's imagine the 1st of jan is a saturday. I would like then to check the 2nd of jan which is sunday (off day again) and then the 3rd which is a monday and not an off day. That way I would have my line item showing 3rd january 2022
I'm having trouble figuring out how to do so, thank you for you help.
Not sure if everything's clear don't hesitate to ask me if needed.