[ad_1]
Why jquery? simply Do with new Date()
var D1 = '2017-05-01 00:00:00'
var D2 = 'Thu Jun 01 2017 16:12:08 GMT+0530';
console.log(new Date(D1).getTime(),new Date(D2).getTime())0
[ad_2]
solved How to compare two dates with different formats in javascript [closed]