note 36540 added to function.date

From: Date: Tue, 14 Oct 2003 12:40:02 +0000
Subject: note 36540 added to function.date
Groups: php.notes 
Request: Send a blank email to php-notes+get-58566@lists.php.net to get a copy of this message
If you use date() with PostgreSQL, be careful. Retrieving a timestamp with timezone from Postgresql will set the environment and this will influence the date() function. So, if your timestamps seem to be wrong, try adding the "O" letter to the format string and see what timezone it reports. ---- Manual Page -- http://www.php.net/manual/en/function.date.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+36540 Delete -- http://master.php.net/manage/user-notes.php?action=delete+36540&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+36540&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#58566) next »