problemas con date
| From: | Irantzu Leunda Biskarret | Date: | Tue, 30 Apr 2013 20:50:10 +0000 |
| Subject: | problemas con date | ||
| Groups: | php.general.es | ||
| Request: | Send a blank email to general-es+get-65538@lists.php.net to get a copy of this message | ||
Hola a todos, desde hace algún tiempo, supongo que por el cambio de version de php me sale este
mensaje en una página:
Bienvenido irantzu
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/Los_Angeles' for 'PDT/-7.0/DST'
instead in /home/rebatter/public_html/login.php on line 42
Fecha registro: 30-04-2013 - 13:18
Email: xxx@xxx.com
Salir
les pongo también el pedazo de código a ver si hay alguien que me diga como solucionar ese
warning.
echo '<b>Fecha registro:</b> ' . date("d-m-Y - H:i",
$_SESSION['fecha']) .. '<br />';
Les estaré muy agradecida.
Saludos
Irantzu