Page 1 of 1

(Completed) RSS pubDate Increment

Posted: Sat Dec 17, 2011 4:49 am
by techkid
Hello,

I am developing an App by using YQL to retrieve the information and displaying them.

What I would like to do is add 5 mores hours to pubDate after retrieving.

It comes in this form (time in GMT):
Sat, 17 Dec 2011 08:26:21 +0000

Is there any possible way to add 5 more hours to it?

Re: RSS pubDate Increment

Posted: Sat Dec 17, 2011 8:03 am
by phpHappy
<pubDate>Sat, 17 Dec 2011 08:26:21 +0500</pubDate>

something like that - lookup <pubDate>

Re: RSS pubDate Increment

Posted: Sat Dec 17, 2011 10:32 am
by techkid
I have done it now, by formatting it from strftime() and date_default_timezone_set