1、查看操作系統的當前時間(包含日期、時間)
命令:date
結果:2019年 10月 12日 星期六 14:35:17 CST
2、按自己的顯示格式,輸出結果:
命令1:date "+%Y-%m-%d,%H:%M:%S"
命令2:date "+%Y-%m-%d,%H:%M:%S,Today is %j day of this year."
3、命令:date "+Today is %j day of this year."
結果:Today is 285 day of this year.
