note 59954 deleted from function.strtotime by derick
| From: | derick@php.net | Date: | Sun, 15 Jul 2007 12:44:15 +0000 |
| Subject: | note 59954 deleted from function.strtotime by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128564@lists.php.net to get a copy of this message | ||
Note Submitter: rajbirsingh_83 at rediffmail dot com
----
To add two timestamps and reflect thier effect on the date.
code:-
$t =strtotime('+1 hours 50 min 50 second',strtotime("2005-12-21 23:10:15"));
$result = date("Y-m-d H:i:s",$t);
echo $result;
Rajbir