Re: Date Select

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tom Chubb" <tom@xxxxxxxxxxxxxx> wrote in message
news:JPEMIHJHEEGAJDFPLGHIKELOEMAA.tom@xxxxxxxxxxxxxxxxx
> How can I query a MySQL table to get the latest results from a date field?
> Basically, I am inserting several records at a time at the end of each
week.
> I want to have a page that displays the results for the last week only.
> The date format in the field is YYYY-MM-DD

Please go to the mysql.com website, search for "date" and you'll find a
detailed description of how to query date columns.

Regards, Torsten Roehr

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux