Jquery Date difference in Hours
<p>I am trying to find date difference between 2 dates in hours with out using any 3rd party dates related library. I used the below code but it shows wrong hours. Any better suggestion or pointer to correct this please.</p>

<p><a href="https://jsfiddle.net/g9wrdctj/1/" rel="nofollow">My fiddle</a></p>

<pre><code>var FutureDate=new Date('2016-05-08T05:19:05.83');
var TodayDate = new Date();
var t1 = FutureDate.getTime();
var t2 = TodayDate.getTime();
var diffInHours = parseInt((t2-t1)/(24*3600*1000));
alert(diffInHours);
</code></pre>