quarter_last_day(date)

Returns the date of the last day of the quarter for a specific date.