Finding Date difference between two dates
How to compare two dates in Java script.
I need to find the difference between two dates.
Although i have found a method on this site but I am not sure about this whether it is right or not.
Because this logic fails for some values.
Please reply back in anyone finds the answer.