In the simplest case, you can use
HTTP::Date. If it can parse such dates (I think so, but not sure off the top of my head), a really comprehensive solution written to offer speed and versatility would be
Date::Calc - it's become my favourite date/time module.
Makeshifts last the longest.