You can use the GOMONTH function. For example:
IF GOMONTH(RecordDate,-2)<=DATE()
ENDIF
>Hi all,
>
>I have to create a function where I need to flag a record where the (RecordDate - 2 months) <= date(). I'm not sure how to do it. Can I just create something like an arithmetic statement to do the job??
>
>TIA