[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in the GNU date extension
From: |
Stepan Kasal |
Subject: |
Re: Bug in the GNU date extension |
Date: |
Fri, 30 Sep 2005 12:38:14 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Thu, Sep 29, 2005 at 01:58:00PM -0400, Pham, Chau - Contractor wrote:
> I was wondering if this is a bug with the GNU date extension
>
> $ TZ="GMT" /usr/local/bin/date "+%s %H:%M"
>
> 1128016378 17:52
>
> $ TZ="EST5EDT" /usr/local/bin/date "+%s %H:%M"
>
> 1128016380 13:53
>
> As you can see the date +%s gives the same value no matter what the TZ is.
%s is defined as "seconds since the epoch (which is 1970-01-01 00:00:00 UTC)"
This is the computer's "internal time", which doesn't depend on time zone.
IOW, the behaviour you observe is perfectly correct.
And what has this to do with texinfo?
Have a nice day,
Stepan Kasal