標準時間轉時間戳
[root@ops-ip-statistic a]# date +%s
1487664464
秒時間戳轉標準時間
[root@ops-ip-statistic a]# date -d@1487522534 +%F" "%T
2017-02-20 00:42:14
毫秒時間戳 轉 標準時間
[root@ops-ip-statistic a]# date -d@$(expr 1487543407521 / 1000) +%F" "%T
2017-02-20 06:30:07