使用date +FORMAT 例如日期$ date +"%Y%m%d" 20131401 時間$ date +"%T" 12:59:33 星期幾$ date +"%u" 1 將日期格式存成字串$ NOW=$(da ...
disp.cc