bug-coreutils
[Top][All Lists]
Advanced

[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: Andreas Schwab
Subject: Re: adding option to date to specify date in unix format (seconds since epoch)
Date: Mon, 25 Jul 2005 20:13:36 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Matus UHLAR - fantomas <address@hidden> writes:

> Hello,
>
> 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?

$ date -d @1122315156

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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