I have just devide by 1000 to get second.
console.log("Milliseconds it takes to get the XML back from the server: " + (new Date() - startTime) / 1000);
console.log("Milliseconds it takes to process and display the XML: " + (new Date() - startTime) / 1000);
It dispslay below result
Milliseconds it takes to get the XML back from the server: 9.58
Milliseconds it takes to process and display the XML: 9.592