OOzy Pal wrote:
How can I add a day to a date if I have a timestamp. Here is my line:

list($d,$m,$y,$dayname,$monthname,$am)=explode(' ',date('d m Y D M a',
$timestamp));

Thank you in advance

$timestamp = $timestamp + 86400;

A timestamp is a number of seconds and there are 86400 seconds in a day.

-Stut

--
http://stut.net/

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

Reply via email to