|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-06 09:55 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 18:00:01 2025 UTC |
Description: ------------ Hi all, I am having troubles to save dates in my mssql database using PHP My query is perfectly fine: insert into tblactivity_dts (actid, start_date, end_date) values ('885347739','10/12/2003','10/01/2004') but the dates saved in my DB are 12/10/2003 and 01/10/2004 However if I run the query in sql server enterprise manager, the dates are stored properly. I have set the server configuration to british and set mssql.datetimeconvert to 0 .... fred