参考 : https://blog.csdn.net/luojian520025/article/details/25317183/
注意 : UNIX_TIMESTAMP() 输出的是秒
select UNIX_TIMESTAMP('2011-05-31 23:59:59');
select from_unixtime(1306771200);
SELECT NOW();
select from_unixtime(1399537700); #参数是秒
select UNIX_TIMESTAMP(NOW()) * 1000;