NSECDAY
cutoff = time(NULL) - age * NSECDAY;
if (((newtime/NSECDAY) != (lasttime/NSECDAY)) || !log) {