Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
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

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Host1Plus.com - Web Hosting -50% | VPS From Hosting $2 | Dedicated Servers From $55 Aurimas Post your ad here 2 07-07-2016 10:11 PM
Host1Plus.com - Save 30% on Web Hosting |15% on VPS hosting Aurimas Post your ad here 0 03-21-2016 06:51 AM
Host1Plus.com - Web Hosting -30%| VPS -15%| Reseller from $20.00/mo Aurimas Post your ad here 0 03-01-2016 01:33 AM
Host1Plus.com | Quality International VPS Hosting with 24/7 Support from $0.75/mo Aurimas Post your ad here 0 08-13-2015 05:40 AM
attractive THANKGIVING offers with a coupon code KVChosting The Market 0 11-16-2012 06:21 AM


All times are GMT -7. The time now is 06:50 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.