I want to calculate the contract expiry date based on the current contract term.
If the day of start date <=15, the expiry date should be the last day of the previous month
if the day of start date is the expiry date should be the last day of the current month
any help would be great
thank you