LAST_DAY(x): get the date of the last day of the month that contains x. : LAST_DAY « Date Timezone « Oracle PL / SQL






LAST_DAY(x): get the date of the last day of the month that contains x.

 
SQL>
SQL> SELECT LAST_DAY('01-JAN-2005') FROM dual;

LAST_DAY(
---------
31-JAN-05

SQL>

   
  








Related examples in the same category

1.LAST_DAY: Get the last day of each month
2.Simple demo for LAST_DAY function
3.Finding the last day of the month starting summer
4.Calculating the Number of Days of Summer in June
5.select last_day( date'2000-02-01' ) "Leap Yr?"
6.select last_day( sysdate ) "Last day of this month"
7.LAST_DAY(hire_date)+1