1) Open Visual C++ 2)#include 3)define variables: unsigned long time; int seconds; int minutes; int hours; int days; 4)insert a text label into your form 5)enter startup code: time = GetTickCount(); days = time / (1000*60*60*24); hours = (time / (1000*60*60)) % 24; minutes = (time % (1000*60*60)) / (1000*60); seconds = ((time % (1000*60*60)) % (1000*60)) / 1000; this->label1->Text = days + " days " + hours + " hours " + minutes + " minutes " + seconds + " seconds"; 6)compile