I’m trying to convert the EXIF timestamps of some photos (they look like this in raw format: 1417180451) to something human readable. I tried to utilize the strtotime php funktion
<?php $s = $pic->exif()->timestamp(); ?> <?php $date = strtotime($s); ?> <p><?php echo date('H:i:s M d. Y', $date); ?></p>
But that does’nt work as expected. How can I get to work?