Convert date to timestamp then they can be compared. todate=$(date -d 2013-07-18 +%s) cond=$(date -d 2014-08-19 +%s) if [ $todate -ge $cond ]; ...
確定! 回上一頁