version where only prints the date