原格式 string(19) "2012-12-23 12:06:3
dump(mysql2date('G',$dat));
dump(mysql2date('U',$dat));
dump(mysql2date('Y',$dat,false));
dump(mysql2date('Y-m-d',$dat,false));
string(19) "2012-12-23 12:06:35"
int(1356264395)
int(1356264395)
string(4) "2012"
string(10) "2012-12-23"
dump(current_time('mysql'));
dump(current_time('timestamp'));
一个成生具体日期,一个生成unix时间,差8小时
number_format_i18n