Make filter with procedure

How can i make 3 4 item filter with procedure block. I mean i want to use minimum block. I want to make get item whos expire with in 5 days.

Taifun