Just in case, you need to parse the created_at date string, use this
(PHP)

//converts Sat, 21 Feb 2009 19:11:42 +0000 to a timestamp
function from_apachedate($date)
{
        list($D, $d, $M, $y, $h, $m, $s, $z) = sscanf($date, "%3s, %2d %3s
%4d %2d:%2d:%2d %5s");
        return strtotime("$d $M $y $h:$m:$s $z");
}


On Feb 22, 7:03 am, Chad Etzel <[email protected]> wrote:
> Seeing no response to this thread I have created Issue 306 here:
>
> http://code.google.com/p/twitter-api/issues/detail?id=306
>
> Please star it if you would likeunixepoch timestamps included with
> each update/tweet in API results.
>
> -Chad
>
> On Tue, Feb 17, 2009 at 4:01 PM, Chad Etzel <[email protected]> wrote:
> > Hi All,
>
> > Wanted to make sure this wasn't a covered issue before I submitted a ticket.
>
> > It would be handy to have aunix-styletimestampof an update/tweet
> > passed back with the results along with the "created_at" field.
> > "created_at" is a useful string representation of thetimestamp, but
> > not all languages have strong date parsers, whereas (pretty much) all
> > languages can understand aunixtimestampand do further manipulation
> > from there.
>
> > Has the been discussed before?
> > Thanks,
> > -Chad

Reply via email to