Added date() function for each attachment to retrieve the date and time of the upload