Re: Adding to time having a timestamp
| From: | Richard Heyes | Date: | Mon, 06 Aug 2007 09:18:41 +0000 |
| Subject: | Re: Adding to time having a timestamp | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260227@lists.php.net to get a copy of this message | ||
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 and HelpDesk software that can cut the cost of online support