<?php

echo gmdate('Y-m-d H:i:s', strtotime('Wed, 08 Feb 2012 23:59:50 +0000'));