Date: Mon, 4 Nov 2002 10:38:23 +0100 From: Claus Fonnesbek Nielsen <cnlsn@tdc.dk> To: "'freebsd-questions@freebsd.org'" <freebsd-questions@freebsd.org> Subject: date command bug? Message-ID: <6184B203EF3D3C49B86625828FED723E01ECA509@VESTMB201A.tdk.dk>
index | next in thread | raw e-mail
Hi
I get an error when I try the following command:
guf@loghost01% date -v31d -v10m -v2002y
31d: Cannot apply date adjustment
usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ...
[-f fmt date | [[[[[cc]yy]mm]dd]HH]MM[.ss]] [+format]
Why... there is 31 days in October, so is it a BUG
It works with the following command:
guf@loghost01% date -v30d -v10m -v2002y -v+1d
Thu Oct 31 10:35:55 CET 2002
Best Regards
Claus Fonnebsek Nielsen
Denmark
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6184B203EF3D3C49B86625828FED723E01ECA509>
