[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adding option to date to specify date in unix format (seconds since
From: |
Matus UHLAR - fantomas |
Subject: |
Re: adding option to date to specify date in unix format (seconds since epoch) |
Date: |
Mon, 25 Jul 2005 20:42:01 +0200 |
User-agent: |
Mutt/1.3.28i |
> Matus UHLAR - fantomas <address@hidden> writes:
> > I've seen this request ocasionally appear in archive of this list (and
> > sh-utils before). The FreeBSD's date has such option:
> >
> > -r seconds
> > Print the date and time represented by seconds, where seconds is
> > the number of seconds since the Epoch (00:00:00 UTC, January 1,
> > 1970; see time(3)), and can be specified in decimal, octal, or
> > hex.
> >
> > Wouldn't you mind adding such option (although not -r, because it's already
> > used) to GNU date too?
On 25.07 20:13, Andreas Schwab wrote:
> $ date -d @1122315156
Oh thank you and sorry for bugging. now I see it was finally added in
coreutils 5.3, even if the docs aren't yet available on the web.
--
Matus UHLAR - fantomas, address@hidden ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Christian Science Programming: "Let God Debug It!".