On Tuesday 24 June 2003 09:18 pm, poetbox wrote: > hi, James HicksŁĄ > > <? > echo date("Y-m-d",strtotime("next Saturday")); > ?> > I got "1970-01-01"! > Perhaps you missing give me the function strtotime(). >
You must be using an old version of PHP that does not support strtotime. (PHP 3>= 3.0.12, PHP 4 ) is what the manual says. That would account for the output of date. James Hicks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php