I\'ve a date like this: 2011-01-28 00:37:15. What would be the most efficient way to get days from now till this date? I want like number of full days till this
2011-01-28 00:37:15
$date = "2011-01-28 00:37:15"; $date_2 = date("Y-m-d H:i:s"); $date_diff=(strtotime($date)-strtotime($date_2)) / 86400; ?>