Set time_t to 0 to prevent garbage in first 4 bytes.