Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: output format Pin
Joel Holdsworth29-Dec-02 4:07
Joel Holdsworth29-Dec-02 4:07 
GeneralRe: output format Pin
wong190729-Dec-02 4:34
wong190729-Dec-02 4:34 
GeneralRe: output format Pin
Dominik Reichl29-Dec-02 5:19
Dominik Reichl29-Dec-02 5:19 
GeneralRe: output format Pin
Michael Dunn29-Dec-02 5:26
sitebuilderMichael Dunn29-Dec-02 5:26 
GeneralRe: output format Pin
Nick Parker29-Dec-02 16:44
protectorNick Parker29-Dec-02 16:44 
GeneralRe: output format Pin
markkuk29-Dec-02 7:20
markkuk29-Dec-02 7:20 
GeneralDrawObj! Pin
HellShrimp4free28-Dec-02 21:42
HellShrimp4free28-Dec-02 21:42 
GeneralFormat of time Pin
Shah Shehpori28-Dec-02 19:58
sussShah Shehpori28-Dec-02 19:58 
Hi friends!!!

I've created a server application and want to get its "uptime". What i want is that whenever server starts, it gets the system time and store in variable/s.

Now i want my client to send request to get the server uptime. Whenever the request arrive at server, it checks the time when request arrive and subtract previously recorded time from it and send the difference back to the client. Obviously the time difference will be server's uptime.

But i want the server's uptime to be in the format of (days:hours:minutes:seconds). How can i do so ????


GeneralRe: Format of time Pin
Mike Danberg29-Dec-02 15:17
Mike Danberg29-Dec-02 15:17 
GeneralRe: Format of time Pin
Ravi Bhavnani29-Dec-02 16:51
professionalRavi Bhavnani29-Dec-02 16:51 
GeneralNorton style UI Pin
Anonymous28-Dec-02 17:08
Anonymous28-Dec-02 17:08 
QuestionProgram Filename and Executable? Pin
Aidman28-Dec-02 16:27
Aidman28-Dec-02 16:27 
AnswerRe: Program Filename and Executable? Pin
Michael Dunn28-Dec-02 16:57
sitebuilderMichael Dunn28-Dec-02 16:57 
GeneralRe: Program Filename and Executable? Pin
Aidman28-Dec-02 18:17
Aidman28-Dec-02 18:17 
GeneralRe: Program Filename and Executable? Pin
Ted Ferenc28-Dec-02 21:53
Ted Ferenc28-Dec-02 21:53 
GeneralRe: Program Filename and Executable? Pin
Aidman29-Dec-02 2:50
Aidman29-Dec-02 2:50 
GeneralRe: Program Filename and Executable? Pin
Ted Ferenc29-Dec-02 3:23
Ted Ferenc29-Dec-02 3:23 
GeneralRe: Program Filename and Executable? Pin
Dominik Reichl29-Dec-02 5:16
Dominik Reichl29-Dec-02 5:16 
GeneralThanks! Pin
Aidman29-Dec-02 12:19
Aidman29-Dec-02 12:19 
AnswerRe: Program Filename and Executable? Pin
(Steven Hicks)n+129-Dec-02 16:19
(Steven Hicks)n+129-Dec-02 16:19 
GeneralChooseColor unhandled exception :( Pin
haust28-Dec-02 12:32
haust28-Dec-02 12:32 
GeneralRe: ChooseColor unhandled exception :( Pin
haust28-Dec-02 12:45
haust28-Dec-02 12:45 
QuestionWindows Explorer CListCtrl? Pin
Steven M Hunt28-Dec-02 11:39
Steven M Hunt28-Dec-02 11:39 
AnswerRe: Windows Explorer CListCtrl? Pin
Iain Clarke, Warrior Programmer28-Dec-02 13:34
Iain Clarke, Warrior Programmer28-Dec-02 13:34 
AnswerRe: Windows Explorer CListCtrl? Pin
Iain Clarke, Warrior Programmer28-Dec-02 14:12
Iain Clarke, Warrior Programmer28-Dec-02 14:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.