Formatting a date in PHP returned from SQL 2008 datetime field
<p>I'm having issues trying to parse a datetime field that I am returning in an SQL query. I was initially getting errors about it not being able to display it as a string but added the format part below and it at least displayed.</p>

<pre><code>&lt;td&gt;".$frontpageresultarray['SubmitDate']-&gt;format(DATE_RSS)."&lt;/td&gt;
</code></pre>

<p>If I do that, it works but I don't get the format I want. I need really DD MM YY HH,MM and I have now idea how to go about it. I need to be able to do calculations on the date later in the script so I can't really just make it a string. Any help would be appreciated. </p>
