Click here to Skip to main content
15,904,416 members
Articles / Web Development / ASP.NET

How to calculate difference between two dates using JavaScript

Rate me:
Please Sign up or sign in to vote.
2.68/5 (12 votes)
8 Apr 2007 145.3K   12  
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.

Views

Daily Counts

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior) Panjim,Goa
India India
Nilesh Surve
Software Engineer
Panjim,Goa
India.

Comments and Discussions