[root@bass Desktop]# date +%s
1466561580
[root@bass Desktop]# python
Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56) 
[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 60*60*24
86400
>>> 1466561580
1466561580
>>> 1466561580/86400
16974
>>> 1466561580/86400/365
46
>>> 
>>> 1970-01-01

[root@bass Desktop]# date
Wed Jun 22 10:15:26 CST 2016

 

相关文章:

  • 2022-02-28
  • 2022-01-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-25
  • 2021-12-12
  • 2022-03-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-25
相关资源
相似解决方案