i have a dropdown list with values/key 1/2/3/4 in the search panel. I created this and this shows up fine.

When the user selects one items, say 2, I have to retrive all the records that were created within the last two days based on the timezone preferences settings.

any source code, please? This is simple but requires more skills than I thought.