網頁

2010年7月15日 星期四

Linux Date的用法-shell script

可在shell script 編寫如下

DTSTR=$(date "+%Y/%m/%d %H:%M")

echo $DTSTR

沒有留言:

張貼留言