| Author |
Returning item using Date range
|
Sege Stephen
Ranch Hand
Joined: Oct 06, 2007
Posts: 51
|
|
I have a program that return a list of items. every item retuned includes the date the item was published. I want to return a subset of the Items based on a fromDate and toDate. I don't know how to do that........ here is my code snippet In my method i have the todate and from date defined: I know I have to use the after and before Date methods of from the DATE API, but I don't know how to do it. Date itemDate is what the item date returns, and if it returns 20 items from nov 1 - 20, 1 item per day, I want return something from nov 11 - nov 19, how do i do that?
|
 |
Sege Stephen
Ranch Hand
Joined: Oct 06, 2007
Posts: 51
|
|
|
Help
|
 |
 |
|
|
subject: Returning item using Date range
|
|
|