#include#include#includeint main(){ struct tm t1,t2; time_t t_of_day1,t_of_day2; t1.tm_year=1997-1900;t1.tm_mon=6;t1.tm_mday=1; t1.tm_hour=7;t1.tm_min=26;t1.tm_sec=1;t1.tm_isdst=0; t_of_day1=mktime(&t1); t2.tm_year=1997-1900;t2.tm_mon=6;t2.tm_mday=1; t2.tm_hour=9;t2.tm_min=12;t2.tm_sec=1;t2.tm_isdst=0; t_of_day2=mktime(&t2); printf("%lf\n",difftime(t_of_day2,t_of_day1)); return 0;}