[freetds] FreeTDS and date format

Julien Ojéda julien.ojeda at logicielnet.com
Tue Sep 28 04:40:40 EDT 2004


Hello,

I've a problem with the date format and freeTDS.
I'm french so the format I want to use is dd/mm/yyyy but FreeTDS always send
date to the MS-SQL Server interpreted in the english format mm/dd/yyyy. So
when I want to record 14/11/2004 it fails.
I add french [fr_FR] and date format = %d %b  %Y %H:%M in locales.conf and I
used setlocale(LC_TIME,'fr_FR'); in my scripts but It still doesn't work.

Does someone have any idea ?

Thanks.
Julien Ojéda




More information about the FreeTDS mailing list