To access a photograph's EXIF data, an alternative method is the normal PHP Exif function.
<?php
$exif_data = exif_read_data($pic1);
$edate = $exif_data['DateTime'];
?>
See: http://php.net/manual/en/book.exif.php