update compareDate test to ms