This is a discussion on Re: [PHP] Got failed while calling strtotime(). within the PHP General forums, part of the PHP Programming Forums category; * Thus wrote Larry_Li@contractor.amat.com (Larry_Li@contractor.amat.com): > I moved website from NT to W2K and got ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
* 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. see: http://www.gnu.org/manual/tar-1.12/h...ter/tar_7.html Curt -- "I used to think I was indecisive, but now I'm not so sure." |