相关疑难解决方法(0)

shell脚本中的YYYY-MM-DD格式日期

我尝试$(date)在我的bash shell脚本中使用,但是我想要YYYY-MM-DD格式的日期.我怎么得到这个?

bash shell date strftime

1045
推荐指数
15
解决办法
133万
查看次数

标签 统计

bash ×1

date ×1

shell ×1

strftime ×1