Fixed error where date wouldn't print out