Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Beginning of the Quarter and Beginning of the Semester of a Date.

user639304May 12 2009 — edited May 12 2009
Hi,

I'm writing a PL/SQL program and I'm facing the following problem:

I have a date D in the format 'dd/mm/yy' and I want to get the beggining of the quarter in which this date is located , and also the beginning of the semester in which the date is located. I want the beginning of the quarter and the beggining of the semester in the format 'dd/mm/yyyy' (which is the format of the date D).
For example, if my date D is 12/11/2007 , the beginning of the quarter is ,in the format 'dd/mm/yyyy', 01/10/2007, and the beginning of the semester is ,in the same format 'dd/mm/yyyy', 01/06/2007.

Thanks you in advance for your help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2009
Added on May 12 2009
4 comments
1,496 views