53 #include <sys/types.h>
56 #include <sys/timeb.h>
57 #include <sys/types.h>
69 CHARS c_allmon[37] =
"JanFebMarAprMayJunJulAugSepOctNovDec";
74 strcpy(pc_time,
"no valid date");
91 tp.time = l_sec + 86400;
96 localtime_r(&st_time, &tp.time);
97 if (st_time.tm_mon > 2 && st_time.tm_mon < 9) {
99 localtime_r(&st_time, &tp.time);
102 st_time = *localtime(&tp.time);
104 pc_mon = (
CHARS*)&c_allmon;
105 pc_mon += (st_time.tm_mon * 3);
106 strncpy(c_mon, pc_mon, 3);
108 if (st_time.tm_year < 100)
110 "%02d-%s-19%02d %02d:%02d:%02d.%02d",
120 "%02d-%s-20%02d %02d:%02d:%02d.%02d",
123 st_time.tm_year - 100,
INTS4 f_ut_utime(INTS4, INTS4, CHARS *)