So what did you do with HTTP::Date that did not work? It's a lot easier for us to help you if you show us your code.
Just to give you a clue, HTTP::Date::time2str takes epoch time. You can actually make life much easier for yourself by getting the timestamp out of the database in the format that time2str is looking for.
Have a look at UNIX_TIMESTAMP() in the MySQL Reference Manual. Also have a look at the very powerful DATE_FORMAT() function whilst you are there - you could theoretically do the whole thing in MySQL before Perl even sees it. I just find it easier to use HTTP::Date::time2str rather than messing about with % type format strings.
In reply to Re: Converting timestamp to RSS pubDate
by smiffy
in thread Converting timestamp to RSS pubDate
by htmanning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |