It works for me too.

I tell you two things,
a) make sure there is a space after +1 day. So it should look like "+1 day
". This ensures that the unix time is not concatenated with "day".
b) calling strtotime 2 times is not a great solution. You can all it once
only.  Like this,

    $date = strtotime <http://www.php.net/strtotime>("+1 day 2008-02-28");

    // better to call this, as the order is quite logical

    $date = strtotime <http://www.php.net/strtotime>("2008-02-28 +1 day");

-- 
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader

Reply via email to