文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>shell 时间函数

shell 时间函数

时间:2008-03-09  来源:nixer2007

1。纪元 秒数-当前  

date +%s

 

perl -e 'print time, "\n"'

  纪元 秒数(指定时间)

date -d '2008-03-07 10:00:00' +%s

 

纪元 秒数(当前天)

 

date -d "`date +%Y-%m-%d`" +%s

相关阅读 更多 +
排行榜 更多 +
秃秃鼠

秃秃鼠

游戏工具 下载
虚拟天文馆stellarium 1.15.0

虚拟天文馆stellarium 1.15.0

生活实用 下载
Local Dream

Local Dream

系统软件 下载