This code will give you the diffrence
between the two dates in days.Some time it is required in the program
to get diff. between two dates.It is so small and very efficient code.
(Optional) Is there any background to this article that may be useful
such as an introduction to the basic ideas presented?
Using the code
A brief desciption of how to use the article or code. The
class names, the methods and properties, any tricks or tips.
Blocks of code should be set as style "Formatted"
for furter execution
var date1=new Date(x,(x-1),x);
var date2=new Date(y,(y-1),y)
Remember to set the Language of your code snippet using the
Use the "var" button to to wrap Variable or class names in
<code> tags like
Points of Interest
Did you learn anything interesting/fun/annoying while writing
the code? Did you do anything particularly clever or wild or zany?
Keep a running update of any changes or improvements you've