SECONDS_PER_DAY
if (ts.tv_sec > 365 * SECONDS_PER_DAY) {
time_t diagnose_date = (1987 - 1970) * 365 * SECONDS_PER_DAY;