
date() [function.date]
Publicado por centaurux (15 intervenciones) el 07/01/2015 22:49:41
Hola Sres,
Tengo el siguiente error: anteriormente nunca me habia salido este error, reinstale el appserv y me aparece este error
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Chicago' for '-6.0/no DST' instead in D:\z-app\appsrv\Appserv\www\sysclte\lib\lib_param_1.php on line 3
este es el codigo donde da el error
<?php
//
$fecha = date("Y-m-d"); ----> aqui es donde genera el error en la asignacion del valor de date
$_SESSION["fecdia"] = $fecha;
....
algiuen tiene idea como corregir esto,
salufdos
gracias
Tengo el siguiente error: anteriormente nunca me habia salido este error, reinstale el appserv y me aparece este error
Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Chicago' for '-6.0/no DST' instead in D:\z-app\appsrv\Appserv\www\sysclte\lib\lib_param_1.php on line 3
este es el codigo donde da el error
<?php
//
$fecha = date("Y-m-d"); ----> aqui es donde genera el error en la asignacion del valor de date
$_SESSION["fecdia"] = $fecha;
....
algiuen tiene idea como corregir esto,
salufdos
gracias
Valora esta pregunta


0