If I am not mistaken, the reset time in seconds is the number of seconds
from 1/1/1970.

Ryan

Sent from my DROID

On Jan 24, 2010 8:42 PM, "EastSideDev" <eastside...@gmail.com> wrote:

When I get the rate_limit_status.xml, this is what I get:
Array
(
   [hash] => Array
       (
           [hourly-limit] => Array
               (
                   [content] => 20000
                   [attributes] => Array
                       (
                           [type] => integer
                       )
               )
           [reset-time-in-seconds] => Array
               (
                   [content] => 1264386634
                   [attributes] => Array
                       (
                           [type] => integer
                       )
               )
           [reset-time] => Array
               (
                   [content] => 2010-01-25T02:30:34+00:00
                   [attributes] => Array
                       (
                           [type] => datetime
                       )
               )
           [remaining-hits] => Array
               (
                   [content] => 20000
                   [attributes] => Array
                       (
                           [type] => integer
                       )
               )
       )
)


The value for [reset-time-in-seconds] cannot be right. The reset time
seems right, but I would rather work with an integer value. What am I
doing wrong? Is this a Twitter API bug?

Reply via email to