数据库日期类型是int类型的,该查询结果是datetime类型的select from_unixtime( `dateline` ) from cdb_posts如果原来类型是datetime类型,查询结果要是int类型则select unix_timestamp( `dateline` ) from cdb_posts