On Tuesday 03 June 2003 17:40, Jack wrote:

> q: how i can do a date subtraction in php? (eg. "2003-06-02" - 3 =
> "2003-05-30")

strtotime()

-- 
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
------------------------------------------
/*
The law will never make men free; it is men who have got to make the law free.
                -- Henry David Thoreau
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to