Thanks for the reply
the problem is not of date time formatting but actually the date which i m getting after parsing from the RSS is wrong
The original date is
Tue, 02 Dec 2008
And then the modified date after parsing is
Wed, 02 Jan 2008
which is a a date some 11 months before
I dont know how this is getting manipulated
The output after parsing should be the same date as what comes in the RSS feed
Main Topics
Browse All Topics





by: doadesPosted on 2008-12-02 at 00:21:39ID: 23075183
You can use strftime?!
rftime("%a , %d %b %Y, %H %M %S %Z")
logger.info @result.channel.pubDate.st
You can move, add commas and : into the string and it shouldn't matter.