您好,欢迎访问一九零五行业门户网

phpexcel 导入日期时间的问题

import(org.util.phpexcel);$phpexcel=new \phpexcel();vendor('phpexcel.phpexcel.iofactory');dump($data);echo phpexcel_shared_date::exceltophp($data['2'][a]);

为什么使用了还是
class 'home\controller\phpexcel_shared_date' not found
回复内容: import(org.util.phpexcel);$phpexcel=new \phpexcel();vendor('phpexcel.phpexcel.iofactory');dump($data);echo phpexcel_shared_date::exceltophp($data['2'][a]);

为什么使用了还是
class 'home\controller\phpexcel_shared_date' not found
看你的错误:class 'home\controller\phpexcel_shared_date' not found
此命名空间home\controller\下有没有这个类呢?
你上面有用 \phpexcel();那么这个类phpexcel_shared_date你也应该加上相应的命名空间来作限定;
其它类似信息

推荐信息