[Qt-interest] QDateTime daylight saving parsing time offset
Atlant Schmidt
aschmidt at dekaresearch.com
Wed Mar 30 16:32:01 CEST 2011
Dan:
> Would it be better to say that it is an offset from UTC ?
>
> One would then subtract the offset from the given time to get UTC.
Yes, precisely (on both counts).
Atlant
-----Original Message-----
From: qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com [mailto:qt-interest-bounces+aschmidt=dekaresearch.com at qt.nokia.com] On Behalf Of Dan White
Sent: Wednesday, March 30, 2011 10:25
To: qt-interest
Subject: Re: [Qt-interest] QDateTime daylight saving parsing time offset
I accept that.
Would it be better to say that it is an offset from UTC ?
One would then subtract the offset from the given time to get UTC.
In the example given, Tue, 29 Mar 2011 09:00:00 +0100 becomes Tue, 29 Mar 2011 08:00:00 UTC
For me, local time is Wed, 30 Mar 2011 10:22:00 -0400 (US Eastern Daylight Time), which would make it Wed, 30 Mar 2011 14:22:00 UTC.
"Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us."
Bill Waterson (Calvin & Hobbes)
----- Atlant Schmidt <aschmidt at dekaresearch.com> wrote:
> Dan:
>
> > The "+0100" refers to the first timezone to the east of
> > Greenwich - Central European Time, I believe.
>
> Isn't t actually referring to a timezone (theoretically
> located anywhere) that is presently operating one hour
> *AHEAD* of UTC? It could be the next timezone east of
> Greenwhich when they are operating on their winter time
> hours or it could be Greenwhich itself when they are
> Operating on Summer time.
>
> Atlant
_______________________________________________
Qt-interest mailing list
Qt-interest at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt-interest
This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.
Thank you.
Please consider the environment before printing this email.
More information about the Qt-interest-old
mailing list