摘要: /** * 00:00:00=>秒 */ public function stringToSec($time) { $arr = explode(':', $time); $time_h = $arr[0]*3600; $time_i = $arr[1]*60; $time_s = $arr[2]; 阅读全文
posted @ 2022-09-13 10:35 cmooc 阅读(71) 评论(0) 推荐(0) 编辑
摘要: vendor("PHPExcel.PHPExcel"); //加载PHPExcel类库$objPHPExcel = new \PHPExcel(); //实例化PHPExcel类$objPHPExcel->setActiveSheetIndex(0); //激活当前的sheet表$objPHPExc 阅读全文
posted @ 2022-09-13 09:44 cmooc 阅读(226) 评论(0) 推荐(0) 编辑