Syntax:
LAST_DAY_OF(<date part>;<date modifier>;<date modifier value>)
Example:
LAST_DAY_OF(1;0;-1) - last day of current month of last year