in reply to convert user-entered date to compare with mtime

I think Date::Parse can help you out. Its main function is parsing human-readable dates into more machine-oriented formats.
  • Comment on Re: convert user-entered date to compare with mtime