[bash]得到字符串格式的YYYY-MM-DD

https://stackoverflow.com/questions/1401482/yyyy-mm-dd-format-date-in-shell-scripthtml DATE=$(date '+%Y-%m-%d') DATE=$(date '+%Y-%m-%d %H:%M:%S') http://man7.org/linux/man-pages/man1/date.1.htmllinux
相關文章
相關標籤/搜索