cancel
Showing results for 
Search instead for 
Did you mean: 

Last Day of Last Month

Former Member
0 Kudos

Hi,

In my report we need to make some calculation based on last day of last month. ie) for today (7th Jan 2014) we need to derive the value 31st Dec 2013.

Please help me to derive this.

Thanks,

Parthi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

=ToDate(RelativeDate(CurrentDate();-Daynumberofmonth(CurrentDate()));"dd/MM/yyyy")

Here Current Date is today date.

this formula will help to derive the last day of last month.

Thanks,

Sakthi.

Answers (1)

Answers (1)

Former Member
0 Kudos

Try using

=LastDayOfMonth(RelativeDate(CurrentDate();-(DayNumberOfMonth(CurrentDate())+1)))

rushikesh97
Explorer
0 Kudos

How to create same formula in IDT ? As the relative date functions are not available in IDT.