TIME_T TO INT

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