1. 获取当前日期:
- cur_date="`date+%Y-%m-%d`"
2. 获取当前日期和时间
- cur_dateTime="`date+%Y-%m-%d,%H:%m:%s`"
转载:http://blog.csdn.net/jenyzhang/article/details/51056745?utm_source=itdadao&utm_medium=referral
原文链接:https://www.f2er.com/bash/389255.html1. 获取当前日期:
2. 获取当前日期和时间
转载:http://blog.csdn.net/jenyzhang/article/details/51056745?utm_source=itdadao&utm_medium=referral
原文链接:https://www.f2er.com/bash/389255.html