By the way, as much as I don't like Date::Manip, it sure is good at
parsing dates.
Are there any other "native" DateTime parsers that are good at parsing
dates that might be typed in by humans?
$ perl -MDateTime::Format::HTTP -le 'print
DateTime::Format::HTTP->parse_datetime("Feb 4 2004")'
2004-02-04T00:00:00
$ perl -MDateTime::Format::HTTP -le 'print
DateTime::Format::HTTP->parse_datetime("Feb 4, 2004")'
Could not parse date [Feb 4, 2004]
DateTime::Format::Baby comes close.
$ perl -MDateTime::Format::DateManip -le 'print
DateTime::Format::DateManip->parse_datetime("Feb 4, 2004")'
2004-02-04T00:00:00
$ perl -MDateTime::Format::DateManip -le 'print
DateTime::Format::DateManip->parse_datetime("next tuesday")'
2005-11-22T00:00:00
$ perl -MDateTime::Format::DateManip -le 'print
DateTime::Format::DateManip->parse_datetime("last monday in december")'
2005-12-26T00:00:00
$ perl -MDateTime::Format::DateManip -le 'print
DateTime::Format::DateManip->parse_datetime("third tuesday in november")'
2005-11-15T00:00:00
--
Bill Moseley
[EMAIL PROTECTED]