changed the toDateSimple method called