Re: Calulating the Diffenece of two Dates in e.G. days
| From: | Jason Wong | Date: | Thu, 08 May 2003 12:26:15 +0000 |
| Subject: | Re: Calulating the Diffenece of two Dates in e.G. days | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146823@lists.php.net to get a copy of this message | ||
On Thursday 08 May 2003 20:14, Torsten Ueberschar wrote:
> i am looking for an algorithm whitch makes something like this:
>
> echo div_dates("2003-05-01", "2003-05-02");
Convert both to unix timestamps then subtract one from the other.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Keep grandma off the streets -- legalize bingo.
*/