[Qt-interest] QDateTime daylight saving parsing time offset
Thiago Macieira
thiago at kde.org
Wed Mar 30 17:33:32 CEST 2011
On Wednesday, 30 de March de 2011 16:21:16 Paul Drummond wrote:
> Thanks the detailed response Konrad - that clears it up for me.
>
> Every time I come across a date/time issue like this I feel like I
> have to take a day out to RTFM. I've read all the links mentioned
> here (and more) various times before but it all leaves my head as soon
> as I've finished the work. What's worse is the seemingly universal
> assumption that date/time stuff is easy which is why I was given half
> an hour to solve this problem this morning and no time to figure it
> out properly!!
I don't see why you'd spend the entire day to figure out what that +0100
means...
If you see:
09:00 +0100
It means either 08:00 UTC or 10:00 UTC. The date command can help:
$ date -u -d '09:00 +0100'
Wed Mar 30 08:00:00 UTC 2011
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110330/180ee118/attachment.bin
More information about the Qt-interest-old
mailing list