-={ dinsdag, 26 april 2016, 15:44:44.646681042 +0200 }=-
Hey Wilfred!
WvV> my computer knows in what timezone it is located, so it can
WvV> calculate the offset.
What good is that?
In the case here the offset is zero so there is nothing for it to calculate.
However if any of the locals in this neck of the woods asks me what time it is
then I could do something like this;
maurice@lilmikey [ ~ ]$ TZ=PST8PDT date +"%A, %d %B %Y, %T.%N %z"
Tuesday, 26 April 2016, 06:39:11.512122527 -0700
Also for the French speaking locals (there are a couple in the neighbourhood)
this might be more meaningful to them;
maurice@lilmikey [ ~ ]$ LANG=fr_CA.utf8 TZ=PST8PDT date +"%A, %d %B %Y, %T.%N
%z"
mardi, 26 avril 2016, 06:41:01.480260762 -0700
Having done this I have to wonder what good any of this would be to anyone else
and appears to be a total waste of bytes. I believe that the date, time and
offset given at the top of my reply would be of the greatest use to you since
it already is adjusted to your time which is how you figured out that the
obsolete header time is UTC (+0000). Also if you were really curious you could
have looked up the timezone for Ladysmith BC, Canada which is the location in
the Origin line at the bottom.
Little Mikey's Brain thinks it's offset is +0000 despite it's location on the
planet. It knows how to behave itself on a network as well as what a real utc
offset looks like and not some shoddy, bogus ftn compliant one. ;-)
Kinderen van tegenwoordig. :::sigh:::
Het leven is goed,
Maurice
... Don't cry for me I have vi.
--- GNU bash, version 4.3.42(1)-release (x86_64-atom-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001.0)
|