get date different between two date in jquery:
==================================================================
var oneDay = 24 * 60 * 60 * 1000;
var entryDate = kendo.parseDate(obj.RowDate, "d");
var today = kendo.parseDate(new Date(), "d");
var diffDays = Math.round(Math.abs((today.getTime() - entryDate.getTime()) / (oneDay)));
==================================================================
var oneDay = 24 * 60 * 60 * 1000;
var entryDate = kendo.parseDate(obj.RowDate, "d");
var today = kendo.parseDate(new Date(), "d");
var diffDays = Math.round(Math.abs((today.getTime() - entryDate.getTime()) / (oneDay)));
0 Comments