Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get start date of the last month and end date of the last month


On the given  date, How to find the start date of previous month  and end date of the previous month of  the given date.

For Example I have given the date 20-12-2014 as input , then   I have to get previous month start date as '01-11-2013' and end of the previous month '30-11-2013'  , Please anybody can help me with proper logic to get the solution.



Former Member
Former Member replied

Hi Polachan;

  I would recommend having a look at the DaysAfter ( ) and RelativeDate ( )  PB methods to help you in this endevour.

Regards ... Chris

1 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question