try find with -mtime, -ctime, or -atime
for example:
find /location -ctime +1 -exec rm {} \;
This should remove any file that was created more than 1 day ago. Be careful though in that it seems that +1 is not necessarily 24 hours from the current time but more like before the start of the previous day.
I haven't sat down to really figure that out, all I know is that specifying one day usually leaves me at least 2 days.