note 18033 deleted from function.date by hholzgra

From: Date: Sat, 13 Apr 2002 19:48:03 +0000
Subject: note 18033 deleted from function.date by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29233@lists.php.net to get a copy of this message
I've added a little code piece in case your server is not located in your time zone: $hourdiff = "16"; // hours difference between server time // and local time in this case, we're *ahead* // of our server by 16 hours $timeadjust = ($hourdiff * 60 * 60); $melbdate = date("l, d F Y h:i a",time() + $timeadjust); print ("$melbdate"); snippet at http://www.terrabyte.dc.com.au/phpscripts.php3

« previous php.notes (#29233) next »