cancel
Showing results for 
Search instead for 
Did you mean: 

Subtracting a whole month to last day of month varied

former_member584790
Participant
0 Kudos

In the following formula if I want to copy this for another month, can I take @End Date which is defined as 4/30/09 and subtract one month from it, that is it would equate to 3/30/09?

If {Command.DOCDATE} in {@Start Date 1} to {@End Date}

then {Command.OXTNDPRC}

else 0

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Philky,

If you want your @End Date formula to subtract exactly one month then create a formula as such:


DateAdd("m",-1,{@End Date})

I hope this helps,

Regards,

Zack H.

Answers (0)