Blogs Tech stuff and many more...
A simple way to compara two date objects is to use the getTime() as shown below.
var d1 = new Date(2013, 6, 1); var d2 = new Date(2013, 10, 1); if (d1.getTime() > d2.getTime())
true;
else
false ;
cheers
Samitha
No comments:
Post a Comment