JavaScript Subtrair 2 datas Obtenha diferença em minutos
var diff = Math.abs(new Date('2011/10/09 12:00') - new Date('2011/10/09 00:00'));
Determined Donkey
var diff = Math.abs(new Date('2011/10/09 12:00') - new Date('2011/10/09 00:00'));