I have been using this for comparing dates on IE and other browser but
could anyone explain me how this works differently?
Date()
and Date("2014-08-05T07:47:02.051Z")
Have different result on:
new Date()
and new Date("2014-08-05T07:47:02.051Z")
And is there any problem that will pop?
Edit
When I execute
console.log(Date(expiryDate),Date())
It just gives the same value.