Replaced time_t uses with uint64.