Good day!
I'm working on tenancy contract project. I enter the start date and end date manually. I need a code to break down tenancy contract to periods automatically.
i.e. if the contract starts on 6-12-2020 and ends on 15-5-2020, it should break them down as follows:
period 1: from 5-12-2020 to 4-1-2021, period 2: from 5-1-2021 to 4-2-2021
I a need a code to do that.
Thanks in advance
I'm working on tenancy contract project. I enter the start date and end date manually. I need a code to break down tenancy contract to periods automatically.
i.e. if the contract starts on 6-12-2020 and ends on 15-5-2020, it should break them down as follows:
period 1: from 5-12-2020 to 4-1-2021, period 2: from 5-1-2021 to 4-2-2021
I a need a code to do that.
Thanks in advance