Jan 14 2010 06:22 PM 3543 4 Calculate Date Difference rubin2008 How will you calculate difference of two dates using PHP? Qambar Profile Answers by Qambar Questions by Qambar Jan 29th, 2010 // Calculate difference and returns the difference in days.function bozimsDateDiff($date1, $date2){ return floor(($date2 - $date1) / (3600 * 24));}// Usage$date2 = time(); // e,g Date 2 CURRENT D... deepikanadkarni Profile Answers by deepikanadkarni Questions by deepikanadkarni Jan 21st, 2010 <?php/********** Date Difference **************************/function date_diff($d1, $d2){ if ($d1 < $d2){ $temp = $d2; $d2 = $d1; $d1 ... Answer Question Select Best Answer
Jan 14 2010 06:22 PM 3543 4 Calculate Date Difference rubin2008 How will you calculate difference of two dates using PHP? Qambar Profile Answers by Qambar Questions by Qambar Jan 29th, 2010 // Calculate difference and returns the difference in days.function bozimsDateDiff($date1, $date2){ return floor(($date2 - $date1) / (3600 * 24));}// Usage$date2 = time(); // e,g Date 2 CURRENT D... deepikanadkarni Profile Answers by deepikanadkarni Questions by deepikanadkarni Jan 21st, 2010 <?php/********** Date Difference **************************/function date_diff($d1, $d2){ if ($d1 < $d2){ $temp = $d2; $d2 = $d1; $d1 ... Answer Question Select Best Answer
Qambar Profile Answers by Qambar Questions by Qambar Jan 29th, 2010 // Calculate difference and returns the difference in days.function bozimsDateDiff($date1, $date2){ return floor(($date2 - $date1) / (3600 * 24));}// Usage$date2 = time(); // e,g Date 2 CURRENT D...
deepikanadkarni Profile Answers by deepikanadkarni Questions by deepikanadkarni Jan 21st, 2010 <?php/********** Date Difference **************************/function date_diff($d1, $d2){ if ($d1 < $d2){ $temp = $d2; $d2 = $d1; $d1 ...