From owner-freebsd-questions Wed Nov 6 2:58:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5834137B401 for ; Wed, 6 Nov 2002 02:58:23 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED8D843E42 for ; Wed, 6 Nov 2002 02:58:22 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (e896d70088b13c0b9a1acdfa174a4d59@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id gA6B0Lit000295; Wed, 6 Nov 2002 03:00:21 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id gA6B0LBH000294; Wed, 6 Nov 2002 03:00:21 -0800 (PST) (envelope-from monkey) Date: Wed, 6 Nov 2002 03:00:20 -0800 From: Adam Weinberger To: iulian Cc: freebsd Subject: Re: date set unable Message-ID: <20021106110020.GF197@vectors.cx> References: <3DC7F80D.11A0D9B4@romtelecom.net> <20021105141206.GK68683@freepuppy.bellavista.cz> <3DC91959.8A55E5B4@romtelecom.net> <20021106104147.GE197@vectors.cx> <3DC91F72.90F793EA@romtelecom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: <3DC91F72.90F793EA@romtelecom.net> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >> (11.06.2002 @ 0556 PST): iulian said, in 1.1K: << > Adam Weinberger wrote: > > >> (11.06.2002 @ 0530 PST): iulian said, in 1.0K: << > > > I can modify the date, but doesn't remeains like I do! I mean when I do > > > date -v -1H > > > everything looks fine, but if I do > > > date > > > the output is the same with the date before. > > >> end of "Re: date set unable" from iulian << > > > > - From date(1): > > > > - -v Adjust (i.e., take the current date and display the result > > of the adjustment; not actually set the date) > > > > - -Adam > > > > OK then, but why do I want to adjust the date if I don't want to set it? >> end of "Re: date set unable" from iulian << I rarely use date(1) to set the date. I mean, when I set the date I always use date(1), but most of the time I use date(1) to format the date for scripts. If you want to set the date, you use the format date YYYYMMDDHHMM or date HHMM. Read the manpage. - -Adam - -- Adam Weinberger adam@vectors.cx adamw@FreeBSD.ORG -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE9yPZEo8KM2ULHQ/0RAg7PAJoDfBmlEcDrnGsrVUzXB/N61h3/cQCfYd4I Wi+0RL4U24d9kLT8gazhwNg= =P+te -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message