I have done search engine for a job portal, if i want to a list menu for date posted as below, what code sql query should i needed??

List menu
Date Posted:
1 day ago
1 week ago
2 week ago
All

And what code or sql query for 'All'???

Thanks..:)[/QUOTE]