Converting SQL datetime into seperate vars
<p>I've been working on a blog commenting system and have been inserting the datetime with NOW(), and I can't quite manage to pull it back into manageable variables,</p>

<p>I've tried using strtotime like following</p>

<pre><code>$date_time1 = strtotime( $row['chron']);
echo $date_time1;
</code></pre>

<p>also with mktime</p>

<pre><code>$timeywimey = mktime ( $row['chron'] );
</code></pre>

<p>both of these are turning 2011-03-24 12:01:59 into 1300964519</p>

<p>if possible I would be looking to split these down into yy,mm,,dd hh,mm</p>

<p>Thanks</p>
