You then only keep a line if it's timestamp is more recent than time() - $NUM_OF_SECOND_IN_TWO_DAYS.
Doing it this way avoids all end-of-month/-year etc. problems.
In reply to Re: Delete files by clock
by jbert
in thread Delete files by clock
by erez_ez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |