As I understand it, you have date/time input in the format:
6/16/2006 10:56:45 PM
and you want to convert it into a MySQL TIMESTAMP data type (not Unix timestamp) format:
06-16-2006 22:56:45
The easiest way, imo, is to use this:
$input = '6/16/2006 10:56:45 PM'; // Validity check bypassed for brevity.
$mysql_timestamp = date('Y-m-d H:i:s', strtotime($input));
This will produce:
06-16-2006 22:56:45
which is a valid MySQL TIMESTAMP ready for inserting:
$sql = "INSERT INTO news(date) VALUES('" . $mysql_timestamp . "')";
Of course, it might be easier to have the request variable formatted that way in the first place. Then all you would need would be a validity check.