Added conversion from time_t to 8 byte char