note 66355 deleted from ref.mssql by cmb
| From: | cmb@php.net | Date: | Sun, 18 Aug 2019 08:32:34 +0000 |
| Subject: | note 66355 deleted from ref.mssql by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-211909@lists.php.net to get a copy of this message | ||
Note Submitter: phil at hilands dot c-spam-om
----
mssql.datetimeconvert
using freebsd and freetds I ran into the dates month being rolled back
01 jan would be 00
12 dec would be 11 nov
removed
ini_set('mssql.datetimeconvert',false);
default setting is to 1 or true on the servers config
and the date issue I ran into was resolved
I don't know how the mssql.datetimeconvert setting works but if you're getting a roll back
in dates might be worth making sure its on.
using ini_get when dealing with scripts that like to modify ini settings will save a headache if you
use phpinfo() like me
*side note with the same settings in freetds php apache etc on a debian load I didn't have this
issue even with mssql.datetimeconvert off