How to split a string which is seperated by an Element in PHP
<p>I have a variable containing Date and Time Which has been seperated by  the element " T "</p>

<pre><code>$date_time="2013-05-05T18:30:00";
</code></pre>

<p>Now i want the date in one variable and Time in another variable like below.</p>

<pre><code>$date="2013-05-05";
$time="18:30"
</code></pre>

<p>Thanks in advance,</p>

<p>Shoba.</p>
