Re: Counting back 90 days...
| From: | Sven | Date: | Mon, 05 Jan 2004 11:53:40 +0000 |
| Subject: | Re: Counting back 90 days... | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-173742@lists.php.net to get a copy of this message | ||
Tristan Pretty schrieb:
I believe I can minus 10 days from $day by having...hi tristan, i believe, that this works with 90 days, too. mktime() takes care of invalid dates. otherwise you had a problem with your code with the first 10 days of the month. give it a try. hth SVEN$timestamp = mktime (0,0,0,$month,$day-10,$year);