Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/06/2011, 17:27
rjulio21
 
Fecha de Ingreso: marzo-2011
Ubicación: Caracas
Mensajes: 389
Antigüedad: 13 años, 2 meses
Puntos: 16
Pregunta Problema con PHPExcel y strtotime()

Buenas tardes, estoy haciendo una aplicacion en la que trabajo con archivos excel para practicar. y necesito ver su informacion. me pille la libreria de PHPEcxel y estoy intentando utilizarla. pero ya consegui la primera traba. :S me da un error dentro de uno de los archivos de la libreria con la funcion strotime(). el error es el siguiente:
Cita:
Warning: strtotime() [function.strtotime]: 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 'UTC' for '-4.5/no DST' instead in C:\WWW\mym\Classes\PHPExcel\Reader\Excel2007.php on line 421
Como pueden ver es dentro de la libreria. y pues la verdad. no consigo la razon. pues nisiquiera he empezado a trabajar bien con la libreria. de todos modos aqui dejo lo que he hecho a ver si es que me falta pasar un parametro o no se, que me equivoque en algo..... gracias por su ayuda.
Código PHP:
Ver original
  1. set_include_path(get_include_path() . PATH_SEPARATOR . './Classes/');
  2. require_once('PHPExcel.php');
  3. require_once('PHPExcel/Reader/Excel2007.php');
  4. require_once 'PHPExcel/IOFactory.php';
  5. $objReader = new PHPExcel_Reader_Excel2007();
  6. $objPHPExcel = PHPExcel_IOFactory::load("Archivos/documentoPrueba.xlsx");