Definition:
function wp_exif_date2ts($str) {}
Convert the exif date format to a unix timestamp.
Parameters
- string $str
Source code
function wp_exif_date2ts($str) { @list( $date, $time ) = explode( ' ', trim($str) ); @list( $y, $m, $d ) = explode( ':', $date ); return strtotime( "{$y}-{$m}-{$d} {$time}" );
3639
No comments yet... Be the first to leave a reply!