Add a convenience function for retrieving the date of a Photo.