Batch query condition

Hi
I’m working with Ax2009 and trying to launch a standard batch process that cleans the system notifications. It’s located in Administration / Periodic / Notification clean-up.
I have two conditions:

  1. I want to launch it every month. To do it, I set the recurrence to monthly, so it is easy.

  2. I want to delete all the notifications with a date of creation older than one year. To do it, I click the button Select to open the query form, but I’m not able to find a query condition that match my requirement for the Alet created date and time field, because this date should be variable each month. I’ve tried with (t-365), but it does not work.

Has anyone any idea about how to handle it from the standard?
Thanks in advance
Gustavo

I got the answer

https://community.dynamics.com/product/ax/axtechnical/b/daxit/archive/2010/01/13/dynamics-ax2009-8211-useful-utility-8220-sysqueryrangeutil-8221.aspx

http://msdn.microsoft.com/en-us/library/cc618616.aspx