Re: [PHP-WIN] MSSQL Date Format Problem

2002-09-17 Thread Tracker1
this is personally why I try to always use iso compliant "-mm-dd hh:nn" or "-mm-dd" Matt Kynaston wrote: > --=_NextPart_000_000D_01C25E30.61F93B80 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > > PHP is supposed to output the date accordi

RE: [PHP-WIN] MSSQL Date Format Problem

2002-09-17 Thread Matt Kynaston
PHP is supposed to output the date according to the locale settings of the server - see setlocale() function to force the issue. But dates are always a pain - strtotime() and strftime() are your friends. > Incidentally, inserting a value into the databases on both > machines works > presenting th