frunz! wrote:
> Super es klappt, vielen Dank!!!
>
> Komisch ist:
> > > date -d 20091001
> > Do 1. Okt 00:00:00 CEST 2009
> >
> Bei
> > date -d "${IRGENDEINTAG} +3 months"
>
> muss IRGENDEINTAG aber das Format
> IRGENDEINTAG="2009-10-01"
>
> haben. Kann man das riechen? Oder gibts dazu irgendein Manual? Nicht
> "man date", da steht nämlich nichts dazu...
Doch:
DATE STRING
The --date=STRING is a mostly free format human readable date
string such as "Sun, 29 Feb 2004 16:21:42 -0800" or "2004-02-29
16:21:42" or even "next Thursday". A date string may contain items
indicating calendar date, time of day, time zone, day of week,
relative time, relative date, and numbers. An empty string
indicates the beginning of the day. The date string format is
more complex than is easily documented here but is fully
described in the info documentation.
Attachment:
signature.asc
Description: PGP signature