Terreox
8th February 2012, 20:18
Hi there
i would like to let my program show the current time like in the topic.
I have one QTimer and every 1000ms it calls a slot which updates one label with the current system time.
How can i let my program show a time like 12:12:01 instead of 12:12:1? is there a kind of format function?
Greetz
i would like to let my program show the current time like in the topic.
I have one QTimer and every 1000ms it calls a slot which updates one label with the current system time.
How can i let my program show a time like 12:12:01 instead of 12:12:1? is there a kind of format function?
Greetz