in reply to Get the date (MySQL style) for X days ago
SELECT [anything you want] FROM [anywhere you want] WHERE [column storing date] >= current_date()-2;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get the date (MySQL style) for X days ago
by repeacock (Novice) on Oct 05, 2009 at 16:08 UTC |