1,138
次編輯
變更
無編輯摘要
1. 在Linux 输 入date 入“date +%V”即可查看当前日期的周数(本例中显示为第48周)。[[File:LiunxDateWeek1.png]] 2.亦可输入“date --date='指定时间' +%V”查看指定时间的周数(本例中输入“date --date="1997-7-7" +%V”,显示1997年7月7日为1997年的第28周)。[[File:LiunxDateWeek2.png]] 3.输入“date -d 1997-7-7 +%V”亦可显示同样结果。[[File:LiunxDateWeek3.png]]