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));
Simply add 86400 (number of seconds in a day).
--
Richard Heyes
+44 (0)844 801 1072
http://www.websupportsolutions.co.uk
Knowledge Base an
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
2 matches
Mail list logo