Re: Rss time to Unix Time?

2007-09-22 Thread MJ Ray
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Haven't found a good, quick way to convert the silly RSS time format > into a unix format. [...] If you mean the ISO-8601 format used by the real RSS (RDF Site Summary) then you just need to strreplace the T with a space and give it to strtotime()

Re: Rss time to Unix Time?

2007-09-21 Thread Chris Hartjes
On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > RssHelper::time ( $ time ) > Converts a time in any format *to* an RSS time. > > > Not what I was looking for, thanks though! Here's a crazy thought...why not just look at the source for RssHelper::time() and figure it o

Re: Rss time to Unix Time?

2007-09-21 Thread [EMAIL PROTECTED]
RssHelper::time ( $ time ) Converts a time in any format *to* an RSS time. Not what I was looking for, thanks though! On Sep 21, 2:36 pm, fr3nch13 <[EMAIL PROTECTED]> wrote: > http://api.cakephp.org/1.2/class_rss_helper.html#29f174f1137ce44cc732... --~--~-~--~~

Re: Rss time to Unix Time?

2007-09-21 Thread [EMAIL PROTECTED]
I thought so too. However, it's returning '-1' :( On Sep 21, 2:26 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Haven't found a good, quick way to convert the silly RSS time format > > into a unix format. Would love to be abl

Re: Rss time to Unix Time?

2007-09-21 Thread [EMAIL PROTECTED]
I thought so, but it's returning '-1' On Sep 21, 2:26 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Haven't found a good, quick way to convert the silly RSS time format > > into a unix format. Would love to be able to use cake

Re: Rss time to Unix Time?

2007-09-21 Thread fr3nch13
http://api.cakephp.org/1.2/class_rss_helper.html#29f174f1137ce44cc7328f199c2fa231 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To u

Re: Rss time to Unix Time?

2007-09-21 Thread Chris Hartjes
On 9/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Haven't found a good, quick way to convert the silly RSS time format > into a unix format. Would love to be able to use cake's time helper > to work with the timestamps, but no luck so far. As of now, I'm > running a php function that

Rss time to Unix Time?

2007-09-21 Thread [EMAIL PROTECTED]
Haven't found a good, quick way to convert the silly RSS time format into a unix format. Would love to be able to use cake's time helper to work with the timestamps, but no luck so far. As of now, I'm running a php function that I wrote to handle some time comparisons and such. anyone have a be