Re: problemas con date
[email protected] (Carlos Medina) Wed, 01 May 2013 08:31:27 +0200
| Newsgroups | php.general.es |
|---|---|
| Organization | SimplyNetworks |
| Message-ID | <[email protected]> |
Hola Irantzu, que te parece este articulo como solución a tu pregunta? ;-) http://php.net/manual/de/function.date-default-timezone-set.php GrüÃe Carlos Medina Am 30.04.2013 22:50, schrieb Irantzu Leunda Biskarret: > > 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 >