Escreva no topo da página:
<?php
date_default_timezone_set('America/Sao_Paulo');
?>
Assim ele vai usar o fusohorário de São Paulo, ou seja, horário de brasília.
Escreva no topo da página:
<?php
date_default_timezone_set('America/Sao_Paulo');
?>
Assim ele vai usar o fusohorário de São Paulo, ou seja, horário de brasília.
info
Grupo: Barão
Registrado: 01/06/10
Posts: 230
Reputação: +25

to com o msm erro na pagina last news
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 20
só que o que o cara ali de cima falo, n deu certo,
algum pode ajuda?
info
Grupo: Campones
Registrado: 21/02/09
Posts: 6
Reputação: 0
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\pot\OTS_Account.php on line 370
OQUE É?