print date date change in console