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

This something is called "unix timestamp", and is the number of seconds since start of the epoch (whatever that means, I always forget that...)

I'd suggest you use a module that parses the date, like Date::Parse or Date::Manip. Search on cpan for date will give you quite a list of modules.

  • Comment on Re: convert user-entered date to compare with mtime