str2time_t
int str2time_t (const char *, time_t *);
ret = str2time_t (ts[i].str, &t);
if (str2time_t(resp, &tmp) == 0) {