- 论坛徽章:
- 0
|
其实我最开始是翻过 info coreutils 的
然后选了看 date 的说明, 不过很可惜,我可能没足够的仔细,我再看看,马上回来
`-d DATESTR'
`--date=DATESTR'
Display the time and date specified in DATESTR instead of the
current time and date. DATESTR can be in almost any common
format. It can contain month names, time zones, `am' and `pm',
`yesterday', `ago', `next', etc. *Note Date input formats::.
呵呵,不知道如何更好的理解, 以上是 info coreutils , 对DATESTR 的所有说明了吧,
" 可以用几乎通常大多数的格式",莫非 是 智能的,
例如 -d "240 days" ,居然就能够显示出来240天后是 ××年××月××号 ,还有其他很多很多功能,
..................
不过后面的DATe的实例说明倒是 有详细的
[ 本帖最后由 dayan_he 于 2007-5-31 22:57 编辑 ] |
|