test passed. created method for printing a nicel formatted date.