Codice PHP:
$stringa 'Aug 02, 2006 6:25:07 pm';
echo 
date('M d, Y h:i:s a',strtotime("$stringa + 2 hour"));