[freetds] Dates fetched from MSSQL are off by 1 month
Carlo Simeone
simeo at simeosoft.com
Thu Nov 16 12:38:39 EST 2006
Il gio, 2006-11-16 alle 16:43, Ole Christian Schroder ha scritto:
> Hello everyone,
> we are using a PHP application that communicates with a mssql database
> using the freetds libraries. We have it running on RH9, but have
> started to upgrade to RHE4 and in this process we have encountered a
> problem with the dates being displayed wrong when fetching them from
> the database. More specifically the month is adjusted by one, thus
> november becomes october (or more correctly, 11 becomes october).
>
Which version of PHP are you using? if it's a 4.x. this thread may help
you:
http://lists.ibiblio.org/pipermail/freetds/2005q2/018576.html
Ciao.
--
Carlo Simeone
More information about the FreeTDS
mailing list