|P is for Practical|
dates-unix <==> mm/dd/yyyyby Blue_eyed_son (Sexton)
|on Jul 16, 2005 at 23:44 UTC||Need Help??|
Blue_eyed_son has asked for the
wisdom of the Perl Monks concerning the following question:
I am working on a project that involves searching a wide search window, but if I get too many results, I need to narrow the window.
Ideally, I'd like to convert the dates of the first search window into Unix format, break it into equal parts depending on the popularity of the search term (for example if it tells me there are 10,000 results, but only lets me see the first 1,000--so I would break it into at least ten equal search windows). Then increment the first unix date, and convert them both back into mm/dd/yyyy to post the search.
How should I go about doing this?
Can anyone recommend a reliable module if necessary?