detect current timezone set by kde

Pradnyesh Sawant spradml at
Tue Mar 18 11:27:26 CET 2008

can someone please tell me how can I programatically detect the timezone
information that has been set through kde?

basically, I have a small pyqt4 app which shows the current time. however
it shows me my system time (dunno where that is stored; basically it shows
me time in IST). however, I'm right now in hk and would like the app to
show me time in my current timezone (hong kong). Any guidelines how may I
go about doing this?

thanks a lot in advance :-)
warm regards,
Pradnyesh Sawant
Believing everybody is dangerous; believing no one is dangerous...
--Abraham Lincoln
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <>

More information about the Python-list mailing list