note 10134 deleted from function.strtotime by jimw
| From: | jimw@php.net | Date: | Fri, 14 Dec 2001 20:56:30 +0000 |
| Subject: | note 10134 deleted from function.strtotime by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-22792@lists.php.net to get a copy of this message | ||
after 24 hours of FIGHTING with php, I have this:
$offset = date("G", strtotime("0"))*3600;
echo date("G:i:s", strtotime("3 am")-$offset);
this will allow strtotime to normalize user input nomatter how badly set up the systems zones are.
"let the power free, too all"