Hi all
I'm applying strtotime on an MSSQL datetime column. Note that's MSSQL, not MySQL.
It works fine PHP 5.3.3.
If $datetime is a result from a MSSQL query and is "Jan 1 1971 10:01:00:000AM",
strtotime($datetime) will be 31572060
However, in PHP 5.2.6, the same function gives an empty result.
Ideally I need a function that will work on both 5.3 and 5.2, and I'd rather not change the MSSQL query (I appreciate it's possible to get the datetime result from MSSQL formatted in a different way).
Thanks