unix时间戳与时间

[root@pserver ~]# date -d "@1381371010"
Thu Oct 10 10:10:10 CST 2013
[root@pserver ~]# date --date="Thu Oct 10 10:10:10 CST 2013"  +%s                     
1381371010
[root@pserver ~]# date
Tue Jun 28 10:12:05 CST 2016
[root@pserver ~]# date +%s
1467079930
原文地址:https://www.cnblogs.com/binbinjx/p/5622479.html