bash - YYYY-MM-DD format date in shell script - Stack Overflow

bash - YYYY-MM-DD format date in shell script - Stack Overflow

瀏覽:1396
日期:2024-04-24
You're looking for ISO 8601 standard date format, so if you have GNU date (or any date command more modern than 1988) just do: $(date -I) ......看更多