note 94184 deleted from function.strtotime by crell

From: Date: Thu, 30 Jun 2022 20:40:52 +0000
Subject: note 94184 deleted from function.strtotime by crell
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-218809@lists.php.net to get a copy of this message
Note Submitter: kooshal at live dot com ---- when using PHP 5.3, you must use date_default_timezone_set() to set the time zone otherwise you will get warning similar to this (if you have display_errors=On)— Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Dubai' for '4.0/no DST' instead in path/to/php/script.php on line ## Example: date_default_timezone_set('Indian/Mauritius'); For a list of supported timezones in PHP, see http://www.php.net/manual/en/timezones.php

« previous php.notes (#218809) next »