$ 0 0 You can get the last day of previous year the following way:SELECT EOMONTH(current_timestamp, -MONTH(current_timestamp)); -- 2012-12-31