Re: "Last monday" query question

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

 



On Friday 06 August 2004 05:33, Adrian Madrid wrote:
> How do you select all articles from last monday on (and that I can use
> that query today and always too)? I've been trying to figure out how to
> do this query but so far all I can do is create a /very /long query and
> it doesn't seem to work all the time. Any ideas?

Use strtotime() and maybe PHP's other date/time functions then plug into your 
query.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Slous' Contention:
	If you do a job too well, you'll get stuck with it.
*/

-- 
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