Hello, i have a simple problem, and question:
¿How do you ask if two Date objects are the same?
I am writing simple code that compares two dates created exactly the same:
However after performing a simple assertion {throw exception if (!=) } they fail and return me this message:
AssertException: CALENDAR property: 'Mon Mar 12 2012 13:05:01 GMT-0600 (CST)' != 'Mon Mar 12 2012 13:05:01 GMT-0600 (CST)'Code:assert(new Date('3/12/2012 13:05:01 GMT-0600'), new Date('3/12/2012 13:05:01 GMT-0600') , 'CALENDAR property');
Thanks in advance