console.log the date