Returns the last day of the month before or after a specified number of months
=EOMONTH(start_date, months)
=EOMONTH("1/1/2023", 1)