Date format [message #312617] |
Wed, 09 April 2008 07:51 |
joeslee
Messages: 18 Registered: February 2008 Location: Bangalore
|
Junior Member |
|
|
select &P_DATE_STR := 'From '||TO_char(TO_DATE(:p_eff_dt,'DD-MON-YY'),'Month DD, YYYY')||' to '||
TO_char(sysdate,'Month DD, YYYY') from dual;
|
|
|
|
|
Re: Date format [message #312641 is a reply to message #312622] |
Wed, 09 April 2008 09:12 |
skooman
Messages: 913 Registered: March 2005 Location: Netherlands
|
Senior Member |
|
|
And what would the input be? Like one date (sysdate?) and then display two values being the start and enddate of the previous quarter?
What do you need this for BTW? (just curious)
|
|
|