How do I say:
$StartDate = Today's Date - 7 Days
in PHP 5.2?
I've seen stuff where the date is decomposed into month, day, year, subtracted and re-assembled. But that looks like August 5th - 7 days would come out to August -2nd ... which isn't really valid.
I was trying the DateTime::sub routine, but then found that my host is running 5.2, not 5.3.
I know this is a common need ... how is it done?