[Qt-interest] daylight saving vs QDateTime vs UTC offset

Imre Péntek pentek.imre at gmail.com
Sat Feb 27 22:40:25 CET 2010


Hello!

I wasn't able to tell the current localtime UTC offset at a time given as a 
QDateTime, also I believe there's no way to set QDateTime unambiguously other 
than the solution given in the example code (which would mean piping in real 
applications) to certain dates. In my case 
QDateTime(QDate(2009,10,25),QTime(2,59)) does not distinguish between these 
valid dates:
2009-10-25 02:59 CET
2009-10-25 02:59 CEST

is there any way to deal with these problems?
-- 
With Regards: Imre Péntek
E-Mail: pentek.imre at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.cpp
Type: text/x-c++src
Size: 1303 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100227/0ca0f587/attachment.bin 


More information about the Qt-interest-old mailing list