I am attepting to create a query which is able to delete all records within a database which have a date stored in standard date/time format and of which are older then 365 days of the current date. I can imagine the delete setting to be something along the lines of: 365<date.now although this doesn't work. What expression would I use in a delete query to delete all records with a date longer then 365 days ago of the current date ?