$exl_date = '31811';
it's excel date data , i put 03-02-1987
$UNIX_DATE1 = ($exl_date - 25569) * 86400;
$from_date1 = gmdate("d-m-Y", $UNIX_DATE1);
$dob = strtotime($from_date1);// now the output should be 03-02-1987
it's excel date data , i put 03-02-1987
$UNIX_DATE1 = ($exl_date - 25569) * 86400;
$from_date1 = gmdate("d-m-Y", $UNIX_DATE1);
$dob = strtotime($from_date1);// now the output should be 03-02-1987
Comments
Post a Comment