佐藤@大日本スクリーンです
From: ORANGE <fanta _at_ orange-net.com>
Subject: [linux-users:72888] C シェルで昨日の日付を使いたい
Date: Fri, 25 Aug 2000 09:53:02 +0900
fanta> FreeBSDでは
fanta> set date = `date -v-1d`
fanta>
fanta> で昨日の日付を取り出せたのですが、Linuxのdateコマンドでは
fanta> うまくいかないようです。
man date すると、
-----------
一昨日の日付を表示するには
date --date '2 days ago'
-----------
とかいてあります。
でわでわ
----------------------------------------------------------------------
佐藤雅伸 (m.sato _at_ screen.co.jp)
References:
- Prev by Subject: [linux-users:72888] Cシェルで昨日の日付を使いたい
- Next by Subject: [linux-users:72890] Re: Cシェルで昨日の日付を使いたい
- Previous by thread: [linux-users:72888] Cシェルで昨日の日付を使いたい
- Next by thread: [linux-users:72890] Re: Cシェルで昨日の日付を使いたい
- Indexes:[Main][Thread]