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
Have a look at http://de.php.net/manual/de/datetime.diff.php (PHP >=5.3.0)
This will return you a DateIntervall wich has a public attribute days