php中datetime时间和int时间互相转换

int时间转换datetime时间

echodate("Y-m-dH:i:s",1210003200);

datetime时间转换int时间

echostrtotime("2008-9-2716:30:30");