tmsecs
tmp = tmsecs(&cur, &daysend);
tmp = tmsecs(&cur, &hours);
long tmsecs(struct tm *, struct tm *);