Try this:
#include <time.h>
char CurrentTime[9];
char CurrentDate[9];
_strdate(CurrentDate);
_strtime(CurrentTime);
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 9 of 9
Threaded View
|
Click Here to Expand Forum to Full Width |