原格式 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