How can we do this (get local time with milliseconds) without Boost? I have something like this:
time_of_day = time(NULL);
time_str_tm = localtime(&time_of_day);
printf("\n%02i:%02i:%02i\n", time_str_tm->tm_hour, time_str_tm->tm_min, time_str_tm->tm_sec);
but the tm
structure has only seconds at last...
any suggestions?