Cast time to "time_t"