Hi,
Read this link[
^]
and implement your code something like...
get all messages count<br />
<br />
start loop to all messages one by one<br />
get header of indexed mail and check your date criteria<br />
if matched <br />
end if<br />
end loop<br />