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
相關文章
相關標籤/搜索