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.
<td>".$frontpageresultarray['SubmitDate']->format(DATE_RSS)."</td>
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.
another approcha would be to use