使用date命令:
输入: date +'%x %X' -d "1970-01-01 UTC 1363241217 secs"
输出: 03/14/2013 02:06:57 PM
文章标签 linux 下转换UTC到本地时间 文章分类 运维
使用date命令:
输入: date +'%x %X' -d "1970-01-01 UTC 1363241217 secs"
输出: 03/14/2013 02:06:57 PM
1.date命令输出的是本地时间。3.UTC时间对应的函数。
Linux时间切换UTC
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M