compare two dates with javascript
Hello All
I havetwo date's in diffrent formate.
Formate of 1st date is : dd/MMM/yyyy (i.e 01/Jul2007)
Formate of 2nd date is : dd/mm/yyyy (i.e 01/06/2007)
now how i would compare these two dates with javascript.and get the result say
0=equal
1=greater
-1=smaller
thanx in advance

