char BeginDate[40]; char EndDate[40]; time_t t_Begin; time_t t_End; BeginDate="2007-07-01 00:00:00"; EndDate="2007-07-12 23:59:59"; sscanf(BeginDate,"%d-%d-%d %d:%d:%d",&tm1.tm_year,&tm1.tm_mon,&tm1.tm_mday,&tm1.tm_hour,&tm1.tm_min,&tm1.tm_sec); tm1....