[Qt-interest] New Date and Time Features in Qt5?
Thiago Macieira
thiago at kde.org
Mon May 30 08:54:07 CEST 2011
On Sunday, 29 de May de 2011 16:04:43 David Ching wrote:
> Ideally, I would like to query the system for two things: 1) My timezone
> and 2) whether DST is active or not. So I would get, e.g. UTC-8, DST=true.
> As it is, the only thing I can do is ask Qt is for current time as UTC and
> as Local and subtract one from the other, then I get UTC-7, which combines
> the effects of both timezone with the DST. I do not know that my native
> timezone is UTC-8, and DST is in effect.
Why do you need to know that?
--
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/20110530/36298c73/attachment.bin
More information about the Qt-interest-old
mailing list