I believe I can minus 10 days from $day by having... $timestamp = mktime (0,0,0,$month,$day-10,$year);
hi tristan,
i believe, that this works with 90 days, too. mktime() takes care of invalid dates. otherwise you had a problem with your code with the first 10 days of the month. give it a try.
hth SVEN
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php