problemas con date
[email protected] ("Irantzu Leunda Biskarret") Tue, 30 Apr 2013 22:50:10 +0200
| Newsgroups | php.general.es |
|---|---|
| Message-ID | <A7A450FD4EC745409EEC4FE0B501D350@Irantzu> |
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: [email protected] 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