时间转为秒数 date -d "2012-11-12 13:00:00" +"%s" 描述转为日期 date -d@1352692800 +"%Y-%m-%d %H:%M:%S" 转载于:https://www.cnblogs.com/zhengchunyuan/p/7344515.html