I knew it's incorrect format. But why string from NT is correct? I don't
want to change source codes on website migration.
-----------------------------------------------------------------------------------------------------------------------
To: [EMAIL PROTECTED]
cc:
Curt Zirzow Subject: Re: [PHP] Got failed while
calling strtotime().
<[EMAIL PROTECTED]>
08/18/03 11:45 AM
* Thus wrote [EMAIL PROTECTED] ([EMAIL PROTECTED]):
> 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."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php