PHP date format conversion
<p>Need help in date conversion:</p>

<p>Existing date format: </p>

<p><code>Wed, 01 Dec 2010 00:00:00 -0500</code></p>

<p><code>(Day, DD MMM YYYY HH:MM:SS GMT-0500)</code></p>

<p>To be changed to: </p>

<p><code>2010-11-29T04:59:59-05:00</code></p>

<p><code>(YYYY-MM-DD(T)HH:MM:SS GMT-05:00)</code></p>

<p>How to handle in PHP?</p>

<p>is there any function available in php for this.</p>

<p>please help</p>
