#当天日期
currentDay=`date +'%Y-%m-%d'`
#具体时间
currentTime=`date +'%Y-%m-%d %H:%M:%S'`
time=`date +"%Y-%m-%d`
shell_生成时间日期
阅读 124
2022-07-18
#当天日期
currentDay=`date +'%Y-%m-%d'`
#具体时间
currentTime=`date +'%Y-%m-%d %H:%M:%S'`
time=`date +"%Y-%m-%d`
相关推荐
精彩评论(0)