check for the size of time_t and behave accordingly