Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (gnu/linux)
Jan Engelhardt <address@hidden> writes:
> this is probably all correct behavior as it is right now (coreutils 6.9):
>
> $ date +%s
> 1204311113
> $ TZ=GMT date +%s
> 1204311113
> $ TZ=PDT date +%s
> 1204311113
%s is defined as "seconds since 1970-01-01 00:00:00 UTC" which obviously
is a constant at any given time throughout the world.
> but is there actually a way to do
>
> $ TZ=anything date +%s -d "`date '+%Y-%m-%d %H:%M:%S'`";
>
> without invoking date twice?
Please explain what you are trying to achieve.
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."