Time_t à int

long int t = static_cast<long int> (time(NULL));
Envious Echidna