now logs time and date stamp as well