Codeigniter设置时区 Codeigniter 3.x,在application/config/config.php 末尾加上 date_default_timezone_set("Asia/Shanghai"); References CI如何设置时区