>>427
difftime()を使ってみては?

time_t timer;
time(&timer);

printf("%.0f\n", difftime(timer, 0));