티스토리 뷰

yyyyMMddHH=`date +%Y%m%d%H`
yyyyMMddHH=_yesterday`date +%Y%m%d -d '1 days ago'`

stackoverflow.com/questions/16142973/add-some-specific-time-while-using-the-linux-command-date

 

Add some specific time while using the linux command "date"

In linux, date can help me to print the current time. If want to print the current time + 1 hour, what option should I give?

stackoverflow.com

 

댓글
댓글쓰기 폼