date -I 获取当前时间 date -d "-3 day" -I date -d "-3 month" -I date -d "-3 year" -I 转载于:https://blog.51cto.com/silencezone/1898916