Subtracting dates w/o database interaction (MySQL)
| From: | Philip Thompson | Date: | Fri, 23 Sep 2005 16:11:30 +0000 |
| Subject: | Subtracting dates w/o database interaction (MySQL) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223080@lists.php.net to get a copy of this message | ||
Hey all.
I'm needing to find the number of days between two dates without using an database functions (DATE_SUB, etc)... only PHP. Is there an easy way to accomplish this? I have searched the PHP site, but have not been successful in finding anything that will assist me.
Any help would be appreciated.
Thanks,
~Philip