LAST_DAY |
LAST_DAY(d) |
Returns the date corresponding to the last day of the month in which the date d falls.
Example
SQL> SELECT LAST_DAY(TO_DATE('13-FEB-2000')) FROM dual; LAST_DAY(TO ----------- 29-Feb-2000
Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.