Date: Wed, 6 Nov 2002 03:00:20 -0800 From: Adam Weinberger <adamw@FreeBSD.ORG> To: iulian <iuliand@romtelecom.net> Cc: freebsd <freebsd-questions@FreeBSD.ORG> Subject: Re: date set unable Message-ID: <20021106110020.GF197@vectors.cx> In-Reply-To: <3DC91F72.90F793EA@romtelecom.net> References: <3DC7F80D.11A0D9B4@romtelecom.net> <20021105141206.GK68683@freepuppy.bellavista.cz> <3DC91959.8A55E5B4@romtelecom.net> <20021106104147.GE197@vectors.cx> <3DC91F72.90F793EA@romtelecom.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021106110020.GF197>