You are here: Re: Dumb Question of the day (maybe year) « All PHP « IT news, forums, messages
Re: Dumb Question of the day (maybe year)

Posted by nemo on 06/29/05 10:03

On 28 Jun 2005 14:50:45 -0700, "NC" <nc@iname.com> wrote:

>Terry wrote:
>>
>> I am using phpMyAdmin to access MySQL for inputting data - built one
>> table - no problems. I am uploading text files using ; as a delimiter.
>> Second table includes a date (configured as date not datetime). I have
>> tried:
>> 2001-21-06;hello; \r\n
>> 20002106;goodby; \r\n
>> '2001-21-06';hello; \r\n
>> '20002106';goodby; \r\n
>>
>> All I get is:
>> Date comment
>> 0000-00-00 hello
>
>MySQL requires dates being imported to be in YYYY-MM-DD format; so to
>MySQL, "2001-21-06" appears to be an invalid date, since there are only
>
>12 months in a year, not 21, as you propose...
>
>Cheers,
>NC
Well, I dunno - I mean, has anybody *tried* 21 months in the year? Is it
significant that it's precisely half the Answer to Life, the Universe and
Everything.
Maybe the OP has stumbled across something.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация