added datetime to the output