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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to