change timestamp format to uint64