[Solved] Difference between Date parse and differencing the date [duplicate]


Print following commands in browser console and you can see diference:

1) Date.parse("2013/05/29") //return number of milliseconds between January 1, 1970 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse

2) new Date("2013/05/25") //return DateTime object

solved Difference between Date parse and differencing the date [duplicate]