To Get the Date Diffence of the Current_date and FirstNoticeDate

In every senario, the date functions and calculations are more import and effictive way to have it. Here i used to get the currect and notice date as an example. 
  1. I'm just converting the datetime to the temp value and stroted in a variable.
  2. Then i go for the calculation the differences of the dates (i.e). The current date and notice date
/* 
*@ TO Get the Date Diffence of the Current_date and FirstNoticeDate
*@ Param Current_date, FirstNoticeDate.
*@ Return Due Days
*/

function Days_Different($current_date, $notice_date)
{
//To Change the Date Format to StringtoTime:
$temp_current_date = strtotime($current_date);
$temp_notice = strtotime($notice_date);

 // Calculate the Date Difference for the Days  
$days_difference = (($temp_current_date - $temp_notice) / (60*60*24));  

return $days_difference;

}