in reply to files & dates

I would use Date::Manip or one of the other Date modules to convert your input dates into epoch times. Then, simply do a numerical comparison to see if the mtime for each file is between your bounds.

Replies are listed 'Best First'.
Re^2: files & dates
by rjsaulakh (Beadle) on Jan 08, 2005 at 11:09 UTC
    i have gone through the Date::Manip but was unable to find what can convert my input date in format of dd/mm/yyyy into epoch
Re^2: files & dates
by rjsaulakh (Beadle) on Jan 09, 2005 at 11:03 UTC
    thx for ur help . i am able to get the mtime of the files . i am taking input from user in dd/mm/yyyy format and i am using ParseDateString($string1) to get the epoch time but the problem is that the output in this case is 2005090100:00:00 while the epoch for the same file is 1105215157. do i need to use a different function to get input dates into epoch secs.