Added date formatting to the outputs.