Date(3)

NAME
XMLTV::Date - date parsing routines for the xmltv package

SEE ALSO
Date::Manip

"parse_date()"
Wrapper for "Date::Manip::ParseDate()" that does two things: firstly, if the year is not specified it chooses between last year, this year and next year depending on which date would be closest to now. (If only one of those dates is valid, for example because day-of-week is specified, then the valid one is chosen; if the time can only be parsed without adding an explicit year then that is chosen.) Secondly, an exception is thrown if the date cannot be parsed.

Argument is a single string.