| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Hank | Date: | September 29 2010 4:42pm |
| Subject: | Re: Not to show until a certain date | ||
| View as plain text | |||
On Wed, Sep 29, 2010 at 8:33 AM, Patrice Olivier-Wilson <biz@stripped> wrote: > On 9/28/10 8:33 PM, Chris W wrote: > >> >> SELECT * >> FROM announcements >> WHERE announcements_expiredate > CURDATE() >> AND announcements_postdate <= CURDATE() >> ORDER BY announcements_expiredate ASC Or how about something like this: SELECT * FROM announcements WHERE CURDATE() between announcements_postdate and announcements_expiredate ORDER BY announcements_expiredate ASC
| Thread | ||
|---|---|---|
| • Not to show until a certain date | Patrice Olivier-Wilson | 28 Sep |
| • Re: Not to show until a certain date | Patrice Olivier-Wilson | 28 Sep |
| • Re: Not to show until a certain date | Chris W | 29 Sep |
| • Re: Not to show until a certain date | Patrice Olivier-Wilson | 29 Sep |
| • Re: Not to show until a certain date | Hank | 29 Sep |
| • Re: Not to show until a certain date | Joerg Bruehe | 1 Oct |
| • Re: Not to show until a certain date | Hank | 1 Oct |
| • RE: Not to show until a certain date | BMBasal | 1 Oct |
| • Re: Not to show until a certain date | Hank | 2 Oct |
| • Re: Not to show until a certain date | Joerg Bruehe | 1 Oct |
