I have a datetime value in mysql \'2010-12-08 16:12:12\' that I\'d like to get the seconds to that date using PHP, so basically a PHP
mysql
PHP
format('U') - $now->format('U');
->format('U') turns it into a unix timestamp.
->format('U')