static char timestamp[20];
lt = localtime(&t);
- strftime(timestamp, 20, "%m/%d/%Y %T", lt);
+ strftime(timestamp, 20, "%m/%d/%Y %H:%M:%S", lt);
return timestamp;
}
}
tm = localtime(&clock);
if (tm->tm_year != this_year)
- strftime(buffer, 32, "%m/%d/%Y %T", tm);
+ strftime(buffer, 32, "%m/%d/%Y %H:%M:%S", tm);
else
- strftime(buffer, 32, "%m/%d %T", tm);
+ strftime(buffer, 32, "%m/%d %H:%M:%S", tm);
return buffer;
}
#endif
static char timestamp[20];
lt = localtime(&clock);
if (precision)
- (void)strftime(timestamp, 20, "%m/%d/%Y %T", lt);
+ (void)strftime(timestamp, 20, "%m/%d/%Y %H:%M:%S", lt);
else
(void)strftime(timestamp, 20, "%m/%d/%Y %H:%M", lt);
return timestamp;