I have two javascript dates, dt and Frefdate. In the firebug, both value are Date {Fri Apr 08 2005 00:00:00 GMT+1000 (AUS Eastern Summer Time)}.
But dt == Frefdate is false. I have to use dt.valueOf() == Frefdate.valueOf() to compare these two dates. Why?
in w3schools web site, the dates comparison can be date1 > date2.(see http://www.w3schools.com/js/js_obj_date.asp).
Thank you.