The command is date
(命令是date
)
To customise the output there are a myriad of options available, see date --help
for a list.
(要自定义输出,可以使用多种选项,请参阅date --help
帮助列表。)
For example, date '+%A %W %Y %X'
gives Tuesday 34 2013 08:04:22
which is the name of the day of the week, the week number, the year and the time.
(例如, date '+%A %W %Y %X'
给出Tuesday 34 2013 08:04:22
这是星期几的名称,星期数,年份和时间。)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…