chrisppppp
MIS
Hi
I've created the following formula to calculate the last day of the month 2 months ago in date format:
DateAdd("m",1,DateSerial((Year(currentdate)), (Month(currentdate)-2),1))-1
However it returns in DateTime format, how can i rejig this formula so it is only in date format?
I've created the following formula to calculate the last day of the month 2 months ago in date format:
DateAdd("m",1,DateSerial((Year(currentdate)), (Month(currentdate)-2),1))-1
However it returns in DateTime format, how can i rejig this formula so it is only in date format?