Running 36 months

HTML

<script src="http://cdn.kendostatic.com/2014.1.318/js/kendo.all.min.js"></script>

JavaScript

var date1 = new Date(2010, 0, 1);
var date2 = new Date(2010, 2, 12); 

var Nomonths;
Nomonths= (date2.getFullYear() - date1.getFullYear()) * 12;
Nomonths-= date1.getMonth() + 1;
Nomonths+= date2.getMonth();
var x =  Nomonths <= 0 ? 0 : Nomonths;
console.log("as");