Is there a simple way to just be able to add milliseconds to my timestamp function?
char stamp[100];
time_t mytime;
struct tm *mytm;
mytime=time(NULL);
mytm=localtime(&mytime);
strftime(stamp,sizeof stamp,"%a, %d %b %Y %H:%M:%S %z",mytm);
printf("%s\n" , stamp);