Change timestamp format from binary to integer.