[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: date 2.0 -- converting seconds to a date
From: |
Charles Karney |
Subject: |
Re: date 2.0 -- converting seconds to a date |
Date: |
Mon, 1 Oct 2001 10:39:51 -0400 |
> From: Jim Meyering <address@hidden>
> Date: Sat, 29 Sep 2001 12:48:11 +0200
>
> Thanks for the long explanation and suggestions.
> Have you looked at more recent test releases of sh-utils?
>
> ftp://alpha.gnu.org/gnu/fetish/sh-utils-2.0.11.tar.gz
>
> With it, you can use this:
>
> date -u -d "1970-01-01 UTC +$SEC sec" +'%Y-%m-%d %T %Z'
>
> In addition, the documented examples have been improved.
> If there's a problem in the latest release, I'll be happy to fix it.
Thanks. The latest version addresses my concerns.
The documentation still leaves a fair amount to the imagination. For
example in the section on "Relative item in date strings", it should be
pointed out that week and day can be fuzzy by the daylight savings delta.
--
Charles Karney Email: address@hidden
Sarnoff Corporation Phone: +1 609 734 2312
Princeton, NJ 08543-5300 Fax: +1 609 734 2586
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: date 2.0 -- converting seconds to a date,
Charles Karney <=