20170414144054 转换成 2017-04-14 14:40:54

echo date('Y-m-d H:i:s',strtotime('20170414144054'));

原文地址:https://www.cnblogs.com/zyy1120/p/6709946.html