note 24305 added to function.date

From: Date: Mon, 12 Aug 2002 20:06:10 +0000
Subject: note 24305 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-34894@lists.php.net to get a copy of this message
Hi all.I have a problem.I need to change the datetime into my timezone datetime, and insert it into a Mysql DATETIME type. Previously I used Date_format function explained on this page, but now I found that there's a difference of five hours between server local time and my local time.How can I convert it into a valid DATETIME data? Tnx -- http://www.php.net/manual/en/function.date.php http://master.php.net/manage/user-notes.php?action=edit+24305 http://master.php.net/manage/user-notes.php?action=delete+24305 http://master.php.net/manage/user-notes.php?action=reject+24305

« previous php.notes (#34894) next »