SQL
MySQL LAST_DAY() Function
Extract the last day of the month for the given date: