detect current timezone set by kde

Gerald Klix Gerald.Klix at klix.ch
Tue Mar 18 06:46:13 EDT 2008


I suggest to change /etc/timezone by invoking sudo tzselect.

HTH,
Gerald

Pradnyesh Sawant schrieb:
> Hello,
> 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 :-)
> 




More information about the Python-list mailing list