On Fri, 17 Jan 2003, Oliver Sampson wrote:
On Thu, 16 Jan 2003 15:22:46 +0100, Rein Klazes rklazes@xs4all.nl
On Thu, 16 Jan 2003 13:33:53 +0000, you wrote:
'15:32 +0000' == '16:32 CET'
How's that?
A clock in Central European Time zone is one hour beyond a clock that displays UTC.
Then shouldn't it be "15:32 +0100" or "16:32 +0000"?
Confusingly (or not, when you think about it), its the other way around: so, "16:32 CET" can be written "16:32 +0100". This is the same time as "15:32 +0000" or "15:32 UTC".
So, whenever you want to convert from localtime to UTC you *subtract* the second number from the first.
See rfc2822 for more details.
HTH,
---- Paul Millar