SQL 语句 将日期转换成时间戳(mysql) update sp_news set dateline = UNIX_TIMESTAMP(datestr); 转载于:https://my.oschina.net/mofire/blog/864373