[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
相关文章
相关标签/搜索