SELECT FROM_UNIXTIME('1430236800','%Y-%m-%d %H:%i:%S') as time1 FROM fine_record_execute where username != 'admin(admin)' and username is not null and type in (0,1,2,3,4)
thysai_st 回复 JaneZHAO(提问者)SELECT TO_CHAR(FROM_UNIXTIME / (1000* 60 * 60 * 24) +
TO_DATE(\'1970-01-01 08:00:00\', \'YYYY-MM-DD HH:MI:SS\'), \'YYYY-MM-DD HH24:MI:SS\')as time1 FROM fine_record_execute where username != \'admin(admin)\' and username is not null and type in (0,1,2,3,4)