Well, lets think about this. If you want to delete files by date, it is not a trivial task.

First of all, you have to gather the list of file into say an array.
Next, you have to get the file dates
Ok, now let's determine today's date
We'll compare the date of the files and and based on the date given, we'll remove them, otherwse keep them.

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's