Adds the date to the output result