Go to the documentation of this file.
11 static char string[17];
14 return(
"Undefined time");
17 itime = (time_t) usec;
19 case 'G': ts = gmtime(&itime);
21 case 'L': ts = localtime(&itime);
24 fprintf(
stderr,
"-E- %s line %d: ", __FILE__, __LINE__);
25 fprintf(
stderr,
"Bad timezone argument passed to ydhmsf().\n");
29 sprintf(
string,
"%d%03d%02d%02d%02d%03.0f",
35 floor(1000 * (usec - itime)));
char * unix2ydhmsf(double usec, char zone)