Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/05/2011, 18:18
Avatar de ColdFusion
ColdFusion
 
Fecha de Ingreso: octubre-2008
Ubicación: Tocoa, Colon Honduras C.A.
Mensajes: 419
Antigüedad: 15 años, 7 meses
Puntos: 9
Problemas con las fechas en php 6

Desde que instale la ultima version de AppServ la cual incluye PHP6 he tenido problemas con las fechas.

cada vez que uso date() o strtotime() muestra esto
Cita:
Strict Standards: strtotime() [function.strtotime]: 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'

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'
Como veran dice que debo establecer el date_default_timezone_set()

Pero no tengo idea de por que debo..

Ademas no se cual es el timezone en honduras xD

Ayuda!!, Que debo hacer?