phpExcel插件导入表格

//倒入excel表格function import_excel($file){    // 判断文件是什么格式    $type = pathinfo($file);    $type = strtolower($type["extension"]);   
阅读全文

常用日期处理函数,时间戳处理函数等

  • 王思彤
  • 2017-10-23 13:50:59
  • PHP
  • PHP
echo date('Y-m-d h:i:s',time());//运行结果(年月日时分秒,“-”间隔):2014-09-12 06:28:32echo date('Y-m-d',time());//运行结果(年月日,“-”间隔):2014-09-12echo date('Y-m-d',strtotime(date('Y-m-d',
阅读全文