Re: Date aritmetic
| From: | Bogdan Stancescu | Date: | Thu, 03 Jan 2002 03:21:49 +0000 |
| Subject: | Re: Date aritmetic | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79284@lists.php.net to get a copy of this message | ||
Well, actually
$days_diff=(mktime(0,0,0,$month2,$day2,$year2)-mktime(0,0,0,$month1,$day1,$year1))/86400;
but you probably got that... :-)
Bogdan