note 10134 added to strtotime

From: Date: Fri, 15 Dec 2000 01:11:40 +0000
Subject: note 10134 added to strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-8746@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" http://www.php.net/manual/function.strtotime.php

« previous php.notes (#8746) next »