query expression question

query expression question

Hi all,

How can I get all Orders which have been modified in the last 3 months? I tried the following but got the error "Not able to find monthsBetween function".

for each o in New_Order  [(Grand_Total != 0.0) &&  monthsBetween(Modified_Time, now) < 3]