PDA

View Full Version : Change time zone



nighil
29th January 2011, 03:44
Howf the system in linux to create an application in Qt to change the time zone of system with linux platform

Lykurg
29th January 2011, 06:32
Hi,

please see http://lmgtfy.com/?q=linux+change+timezone and have e.g. a closer look at the first result. Then you only need to use QProcess and you are done.

schall_l
3rd February 2011, 13:14
First result from http://lmgtfy.com/?q=linux+change+timezone basically says If you guys want to change timezone of your ubuntu machine then you can do it by issuing: dpkg-reconfigure tzdata

Is this what you meant.

Do you have a sample of code that shows how to change the timezone on a linux platform from a QT application ?