Re: problemas con date
| From: | Carlos Medina | Date: | Wed, 01 May 2013 06:31:27 +0000 |
| Subject: | Re: problemas con date | ||
| References: | 1 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-65539@lists.php.net to get a copy of this message | ||
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: 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
>