Data received on 31/5/2002 at 011111
Data sent on 31/5/2002 at 011110
Internet heater details
30/5/2002 171111 -07 00
I don't understand.
In this case the email was sent from another UTC time zone -7. The calculation to obtain the local time zone of Chicago should be
31/5/2002 011111 - 5 = 30/5/2002 181111 -5
which is different from 30/5/2002 171111 -07 00 already in the internet header details.
That calculation is "flawed", if I get it right what you are trying to do ?
31/5/2002 011111 -0500 is 31/05/2002 061111 UTC
But you need to move from the message date (the one in the actual header) onwards
30/5/2002 171111 UTC -0700=31/5/2002 001110 UTC
Whatever created 31/5/2002 at 011111 was on UTC+1
You will need to detail where (exactly) that data comes from.
The e-mail header contains several dates/times.
I will provide you with an example (I am in Italy, so my local time is UTC +0200, currently, as we have +1 hour due to DST since March, 29) this shows in gmail view as Sat, Apr 18, 2020 at 522 PM
in the e-mail header I have (midway, just before the actual message text)
Date Sat, 18 Apr 2020 172207 +0200
this is the actual time/date of the message (local of the sender, also Italian)
At the very beginning I have
Delivered-To <removed>
Received by <removed>
Sat, 18 Apr 2020 082212 -0700 (PDT)
this is the date Google servers (it is a gmail address) received the message in their local time, PDT or UTC-0700
further on
Received from <removed>
…
Sat, 18 Apr 2020 082212 -0700 (PDT)
same as above
further on
Received from <removed>
Sat, 18 Apr 2020 172210 +0200
this is the time the e-mail provider of the server (also in Italy) received the message
Now, a couple e-mails I got before DST was applied, i.e. at a time I was in UTC+0100.
Coming from UTC+0000, and going through a server in UTC - 0800 (PST) this shows in gmail as Mon, Feb 17, 2020 at 855 AM
Date Mon, 17 Feb 2020 075506 +0000 (UTC)
Received by <removed>
Sun, 16 Feb 2020 235508 -0800 (PST)
Received by <removed>
2020-02-17 075506.568284864 +0000 UTC
Coming from UTC -0700 (PDT), shown in gmail as Tue, Mar 17, 2020 at 729 AM
Date Mon, 16 Mar 2020 232905 -0700
Received by <removed>
Mon, 16 Mar 2020 232906 -0700 (PDT)
jaclaz
Thank you jaclaz.
It is clear now!!!