现实逼迫自己不得不去学习,不然自己也只能做一个平庸的程序员。
php页面中有时候想改时区,最简单的办法是在程序的上面加上这样一句话:
date_default_timezone_set('PRC');