Skip to Content.
Sympa Menu

freetds - Re: [freetds] Dates fetched from MSSQL are off by 1 month

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Carlo Simeone <simeo AT simeosoft.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] Dates fetched from MSSQL are off by 1 month
  • Date: Thu, 16 Nov 2006 18:38:39 +0100

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:

https://lists.ibiblio.org/sympa/arc/freetds/2005q2/018576.html

Ciao.

--
Carlo Simeone




Archive powered by MHonArc 2.6.24.

Top of Page