Details
Description
LAST_DAY returns the date of the last day of the month that contains date:
last_day('2015-01-14') = '2015-01-31'
last_day('2016-02-01') = '2016-02-29'
last_day function went from oracle http://docs.oracle.com/cd/B19306_01/server.102/b14200/functions072.htm