Hey @mairatma, try using [YUI's Date.areEqual](http://yuilibrary.com/yui/docs/api/classes/Date.html#method_areEqual) method instead of recreating this functionality.