Linux时间戳 与 标准时间 转换
2017-02-21 16:09
323 查看
标准时间转时间戳
秒时间戳转标准时间
毫秒时间戳 转 标准时间
[root@ops-ip-statistic a]# date +%s 1487664464
秒时间戳转标准时间
[root@ops-ip-statistic a]# date -d@1487522534 +%F" "%T 2017-02-20 00:42:14
毫秒时间戳 转 标准时间
[root@ops-ip-statistic a]# date -d@$(expr 1487543407521 / 1000) +%F" "%T 2017-02-20 06:30:07
相关文章推荐
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- Linux下时间戳格式和标准时间格式的转换
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- Linux下时间戳格式和标准时间格式的转换
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- Linux下时间戳格式和标准时间格式的转换
- Linux下时间戳格式和标准时间格式的转换
- Linux下时间戳格式和标准时间格式的转换
- Linux系列--时间戳和标准时间转换【date】
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- Linux下时间戳格式和标准时间格式的转换
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- Linux下时间戳格式和标准时间格式的转换
- Linux下时间戳格式和标准时间格式的转换
- linux下如何把时间转成秒数,或把秒数转换成标准时间格式
- js时间转换 将获取的时间转换标准时间 像12:20:36形式
- iOS开发---将时间戳转换成标准时间
- iOS标准时间与时间戳相互转换
- C# 和 Linux 时间戳转换