I know that I can do this if I have a struct tm structure, but what if I want to do the same with SYSTEMTIME. I could do it manually, but just wondering if there is a function that does this already.
thank
void PrintTimeSCII(struct tm *time)
{
char timebuf[26] = {0};
asctime_s(timebuf, 26, time);
printf("%s\n", timebuf);
}
source
share