[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Date doesn't accept "date -s 05270925"

From: Jim Meyering
Subject: Re: Date doesn't accept "date -s 05270925"
Date: 27 May 2001 16:06:16 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.104

Otto Wyss <address@hidden> wrote:
| > What you probably mean is something like this:
| >
| >   date --set='2001-05-27 09:25'
| >
| I've certainly uncountable times set the time with date during the last
| five years, but simply could not grasp the syntax anymore. I've went
| through man and info and even scanned my disk for any examples, my brain
| was fixed at the --set option. I also tried the ISO format but didn't
| remember the correct delimiters, date almost drove me nuts.
| Well I think date should have accepted my command or 'date -s
| "05270925"' or something similar. At least an example in the man page
| would helped as well. A better description of the ISO format might also
| be a good idea.

The `man' page for date is automatically generated from date's --help
output.  The primary documentation is usually available in `info'-format.
Have you looked at the `info' documentation for date?
If not, type `info date'.

There are many examples showing how to use date with a pretty
wide selection of formats, most of which work with --date= and --set=.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]