Re: Got failed while calling strtotime().

From: Date: Mon, 18 Aug 2003 04:28:25 +0000
Subject: Re: Got failed while calling strtotime().
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159892@lists.php.net to get a copy of this message
* Thus wrote Larry_Li@contractor.amat.com (Larry_Li@contractor.amat.com): > > I knew it's incorrect format. But why string from NT is correct? I don't > want to change source codes on website migration. when you say you got ("06 9 2003 12:00AM" in W2K and "Jun 9 2003 12:00AM" in NT) how are you getting that value? > > > * Thus wrote Larry_Li@contractor.amat.com (Larry_Li@contractor.amat.com): > > I moved website from NT to W2K and got problem of date conversion. I'm > > using MS SQL Server. In SQL Server, the data looks like "06/09/03". I got > > "06 9 2003 12:00AM" in W2K and "Jun 9 2003 12:00AM" in NT. strtotime() > > works ok on NT, but return -1 on W2K. > > > > Any ideas? Thanks a lot! > > > > "06 9 2003 12:00AM" is not a valid date string. > Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159892) next »