View Single Post
  #27  
Old 08-27-2007, 09:06 PM
quilmore Offline
forum loafer
 
Join Date: Feb 2006
Posts: 13
Quote:
Originally Posted by Dennis View Post
Ok, open functions_exif.php, goto line 77 (or nearby) where the $capture_date statement is.

Replace that line with:

PHP Code:
$exif_result['DateTimeOriginalSubIFD'] = trim(str_replace('-',':',$exif_result['DateTimeOriginalSubIFD']));
$exif_result['DateTimeOriginalSubIFD'] = str_replace(' ',':',$exif_result['DateTimeOriginalSubIFD']);
$ftime explode(":"$exif_result['DateTimeOriginalSubIFD']);
$unxTimestamp mktime($ftime[3],$ftime[4],$ftime[5],$ftime[1],$ftime[2],$ftime[0]);
$capture_date date($cfgrow['dateformat'],$unxTimestamp); 
if I do as you recomended my date and time disappears
what I'm missing? something or some variables should be added somewherelese?
thanks for all support
Reply With Quote