hello to everyone,
i have the followign problem:
i need to get the system date-time {i think it is done like this--> QDate myDate(QDate::currentDate())} and then i
need a way to add minutes(!!) to this variable....
in particular i want to make a program{actually part of a another program} that will print on a label dates×.
The problem is that i must print the date-time every hour.But also simulate an hour with 1 minute{i believe that i can do so with the Sleep() function}...
so a possible output could be:
Wed Feb 11 2007 22:09
Wed Feb 11 2007 23:09
Wed Feb 11 2007 00:09
Wed Feb 12 2007 01:09
....
....
thanks for your help
PS:: sorry for my english...
Bookmarks