• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows [gesior] bug time

crewneles

New Member
Joined
Mar 21, 2010
Messages
50
Reaction score
1
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 'America/Sao_Paulo' for '-3.0/no DST' instead in C:\xampp\htdocs\latestnews.php on line 86

How can I fix this?, I live in Brazil.​
 
date_default_timezone_set('America/Sao_Paulo'); <?PHP
session_start();
ob_start("ob_gzhandler");
//require('./exaBD.php');
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);

Correct?
 
PHP:
<?PHP
date_default_timezone_set('America/Sao_Paulo'); 
session_start();
ob_start("ob_gzhandler");
//require('./exaBD.php');
function microtime_float() {
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
 
Back
Top