Calculating dates
| From: | Ron Piggott | Date: | Sat, 01 Mar 2008 05:53:54 +0000 |
| Subject: | Calculating dates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-270793@lists.php.net to get a copy of this message | ||
Is there an easy way to calculate the number of days between two dates?
Example: 2008-02-27 - 2007-12-03 = 86 days
The dates will be in the format above YYYY-MM-DD
Ron