0
点赞
收藏
分享

微信扫一扫

shell_生成时间日期

上古神龙 2022-07-18 阅读 123


#当天日期
currentDay=`date +'%Y-%m-%d'`
#具体时间
currentTime=`date +'%Y-%m-%d %H:%M:%S'`

time=`date +"%Y-%m-%d`


举报

相关推荐

0 条评论