Finding the first Monday in the month of September : NEXT_DAY « Date Timezone « Oracle PL / SQL






Finding the first Monday in the month of September


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

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

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.NEXT_DAY('01-AUG-97','Monday'): Finding the first Monday in the month of August
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' )