Skip to Main Content

Analytics Software

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!

DAYOF MONTH OF previous month

947349Sep 16 2012 — edited Sep 19 2012
Hi,

I have prompt where i have dates like below

3/31/2012
4/30/2012
when i clcik 4/30/2012,i need previous month dayof month ,so result should be 31

when i give like this TIMESTAMPADD(SQL_TSI_DAY, -30, DATE '@{pvdate}')...................i get previous full date 3/31/2012
when i give like this DAYOFMONTH(DATE '@{pvdate}').................................................i get current dayof month 30

how to get previous dayof month ?
This post has been answered by SriniVEERAVALLI on Sep 19 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2012
Added on Sep 16 2012
12 comments
226 views