Get timestamp?
| From: | Jay Paulson | Date: | Wed, 25 Jan 2006 19:32:00 +0000 |
| Subject: | Get timestamp? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229259@lists.php.net to get a copy of this message | ||
For some reason my brain isn't working correctly today.
How would I go about getting the timestamp of a day of the week from 7 weeks
ago?
In my case I'm getting the timestamp of last Sunday (no matter what day of
the week it is currently) and I want to get the timestamp of the Sunday that
happened 7 weeks ago.
$lastSunday = strtotime("last Sunday");
$Sunday7Weeks = $lastSunday - ???;
Thanks