Page 1 of 1

PHP Windows 5.2.5 date problem using php_dblib.dll

Posted: Fri Feb 01, 2008 7:41 am
by PhpDog
After finding that with PHP 5.2.5 mssql_field_name would only return the first 30 characters of the field, I installed php_dblib.dll and the problem was solved. But now I find that MS SQL Server 2005 dates are returned as

Oct 1960 12:00:00:000AM

whereas before I got the day also. How can I get the day please?

Re: PHP Windows 5.2.5 date problem using php_dblib.dll

Posted: Fri Feb 01, 2008 8:26 am
by PhpDog
Just found the mssql.datetimeconvert = Off section of php.ini which helped towards a solution.