method printDate1() was implemented