Is there a simple way to convert a string to date format like "Y-m-d H:i:s" since SQL Server delivers timestamps like "Nov 14 2011 03:12:12:947PM".
I have used:
date('Y-m-d H:i:s',strtotime('Nov 14 2011 03:12:12:947PM'))
Can someone please help me in solving this?