outputted the date