PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $hour = 'T06:00:00'; $date = date('Y-m-d'); $dates = $date. $hour; $wedding = strtotime("2014-02-20 12:00:00"); // or whenever the wedding is $current=strtotime('now'); $diffference =$wedding-$current; $days=floor($diffference / (60*60*24)); echo "$days days left";
Show:  
Copy Clear