I am trying to display a message box in which time is to be displayed.
I have tried to display the time in a string and i had used time edit.It is running and its showing a messagebox with the default time 12.00am.....
Here is the code which i have tried:
QString timeInString = timeEdit.time().toString("h:m:s ap");
Now what i need is to change the time by showing the current time and not the default 12.00am..
Can anyone help me out with this?
Thanks and regards,