一、date型转换成int型 UNIX_TIMESTAMP(‘1992-06-04 22:22:00’) =====> 875996580 二、int型转换成date型 FROM_UNIXTIME(875996580) =====> ‘1992-06-04 22:22:00’