NEXT_DAY('01-AUG-97','Monday'): Finding the first Monday in the month of August : NEXT_DAY « Date Timezone « Oracle PL / SQL






NEXT_DAY('01-AUG-97','Monday'): Finding the first Monday in the month of August



SQL>
SQL>
SQL> -- Finding the first Monday in the month of August.
SQL> SELECT TO_CHAR(NEXT_DAY('01-AUG-97','Monday'),'MM/DD/YYYY HH:MM:SS AM') "Next_Day" from DUAL;

Next_Day
----------------------
08/04/1997 12:08:00 AM

SQL>
SQL>
           
       








Related examples in the same category

1.The proper method to find the first Monday in a given month
2.NEXT_DAY: the date of the day of the week following a particular date
3.Finding the first Monday in the month of September
4.NEXT_DAY(SYSDATE,'Monday'): Finding the first Monday after the current date and time
5.select next_day( date'2001-09-11', 'SUNDAY' )
6.select next_day( date'2002-01-01', 'FRI' )