View Single Post
Old 12-06-2016, 09:40 PM   #1
alanwaston
Registered User
 
Join Date: Dec 2016
Posts: 5
Having issue in following code...

echo "<tr class='tab_bg_1'>";
echo "<tr class='tab_bg_1'>";
echo "<td>".__('Purchase Date ')."</td>";
echo "<td >";
Html::autocompletionTextField($ic, "date2", array('option' => $option));
$diff=date_diff((intval($ic->fields["date2"],$date1)));
echo $diff;//->format("M");
echo "</td>";


I want to calculate date difference between two date using above code. But its not working. Any help ????

Relax: sms tones, bad things ringtone download, mobile ringtones

Last edited by alanwaston; 12-19-2016 at 01:52 AM..
alanwaston is offline   Reply With Quote