Trying console.log again because date is not showing in browser console.