linux下时间戳转换
精选 转载1.字符串转化成时间戳
date -d "2012-02-02 00:00:00" +%s
输出:1328112000
2.时间戳转化为字符串
date -d "1970-01-01 UTC 1328247282 seconds" "+%F %T"
输出:2012-02-03 13:34:42
上一篇:msmtp+mutt安装配置
下一篇:linux下BT制作(测试)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
day.js 时间戳
day.js 的时间戳 希望大家可以补充
时间段 时间戳 时间处理 -
java linux时间戳转换 linux时间戳转换成时间命令
Linux时间戳与日期相互转换
linux基础 时间戳 相互转换 日期格式转换