Javascript DateDiff

Estou tendo um problema com a função DateDiff. Eu estou tentando descobrir a diferença entre duas datas / horas. Eu li esta postagem (Qual é a melhor maneira de calcular a diferença de data no Javascript?) e também olhei para este tutorial (http://www.javascriptkit.com/javatutors/datedifference.shtmlmas não consigo entender.

Aqui está o que eu tentei trabalhar sem sucesso. Alguém poderia me dizer o que estou fazendo e como posso simplificar isso? Parece um pouco mais codificado ...?

//Set the two dates
var currentTime = new Date();
var month = currentTime.getMonth() + 1;
var day = currentTime.getDate();
var year = currentTime.getFullYear();
var currDate = month + "/" + day + "/" + year;
var iniremDate = "8/10/2012";

//Show the dates subtracted
document.write('DateDiff is: ' + currDate - iniremDate);

//Try this function...
function DateDiff(date1, date2) {
    return date1.getTime() - date2.getTime();
}

//Print the results of DateDiff
document.write (DateDiff(iniremDate, currDate);

questionAnswers(4)

yourAnswerToTheQuestion