also print the datetime