in reply to searching items in a row based on time and date

And you have tried what?

See On asking for help and How do I post a question effectively? (among other FAQs). We're here to help you learn; not to write free-code.

Also, you posted to the wrong place ( PerlMonks Discussion ) which is for discussion of this site; your question has been moved to Seekers of Perl Wisdom.


Spirit of the Monastery

but...

Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.