note 99865 added to function.date-default-timezone-set

From: Date: Sat, 11 Sep 2010 13:22:54 +0000
Subject: note 99865 added to function.date-default-timezone-set
Groups: php.notes 
Request: Send a blank email to php-notes+get-172480@lists.php.net to get a copy of this message
This is a good script if you know or control your system so that you know that the local TZ in your OS is correct. Unfortunately, this script still creates an warning message under BSD UNIX. To fix this, just add an "@" in front of "localtime" as: $arr = @localtime($iTime); ---- Server IP: 208.69.120.55 Probable Submitter: 206.208.58.127 ---- Manual Page -- http://www.php.net/manual/en/function.date-default-timezone-set.php Edit -- https://master.php.net/note/edit/99865 Del: integrated -- https://master.php.net/note/delete/99865/integrated Del: useless -- https://master.php.net/note/delete/99865/useless Del: bad code -- https://master.php.net/note/delete/99865/bad+code Del: spam -- https://master.php.net/note/delete/99865/spam Del: non-english -- https://master.php.net/note/delete/99865/non-english Del: in docs -- https://master.php.net/note/delete/99865/in+docs Del: other reasons-- https://master.php.net/note/delete/99865 Reject -- https://master.php.net/note/reject/99865 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#172480) next »