Re: Counting back 90 days...
| From: | Jon Haworth | Date: | Mon, 05 Jan 2004 11:46:22 +0000 |
| Subject: | Re: Counting back 90 days... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-173740@lists.php.net to get a copy of this message | ||
Hi Tris,
> But is there an easy was to calculate 90 days
> from the timestamp...
There are 86400 seconds in a day... can't you just do something like:
$timestamp -= (86400 * 90);
Or even
$timestamp -= 7776000; // 90 days
Cheers
Jon