Re: Something strange with "date +%s" and timezones
From:
Andreas Schwab
Subject:
Re: Something strange with "date +%s" and timezones
Date:
Fri, 28 Nov 2008 10:02:40 +0100
User-agent:
Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux)
Stan Marsh <address@hidden> writes:
> It seems to me that it should either return the same thing or not return the
> same thing, consistently. In general with date, it shouldn't matter whether
> or not you use "-d".
Why? You are specifying different points in time with -d, and this is
what is used as the base for the output.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."