You are here: Re: PHP & DateTime query « All PHP « IT news, forums, messages
Re: PHP & DateTime query

Posted by Jay on 03/08/06 22:55

No problems ...

I have to use the DATETIME field, because that is what they have in place
already ...

Will try your code out - thanks!



"Codik" <marek.ham@gmail.com> wrote in message
news:1141824652.557343.194350@u72g2000cwu.googlegroups.com...
> Good day.
>
> I don't understand why You are using DATETIME field, when You want
> finding data only by date. My opion is. You create a DATE field and You
> use for 1. query:
> SELECT * FROM table WHERE date = '2006-01-01'
>
> And for 2. query:
> SELECT * FROM perform1 WHERE date >= '2006-01-01' AND date <=
> '2006-01-03'
>
> --
> When my English is bad, sorry.
>

 

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

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