bitsCN.com -- 将时期生成时间截Select UNIX_TIMESTAMP(now());Select UNIX_TIMESTAMP('2012-1-1 00:00:00'); -- 将时间截转成日期格式select from_unixtime(1330509529); bitsCN.com