Re: Got failed while calling strtotime().
| From: | Curt Zirzow | Date: | Mon, 18 Aug 2003 03:45:59 +0000 |
| Subject: | Re: Got failed while calling strtotime(). | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159890@lists.php.net to get a copy of this message | ||
* 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/html_chapter/tar_7.html
Curt
--
"I used to think I was indecisive, but now I'm not so sure."