[twitter-dev] Re: Daylight savings

2009-08-03 Thread Matt

I'll try to be a bit specific, I need to know if a user is currently
in daylight savings time. For instance my time zone is listed as
London (this is where I live) GMT +0 however the UK is currently in
British Summer Time (BST) which is GMT +1. The api will report that
I'm in GMT +0 when I'm not.

I ask this but I think I know the anwser, does the API have any
knowledge of a user's actual time zone (inc DST) without the user
having to change their TZ whenever their clock changes?


On Aug 3, 3:18 am, JDG ghil...@gmail.com wrote:
 What do you mean? The time of a tweet? If so, you have the created_at
 parameter in the status object which is the UTC time of the tweet, and the
 user object within the status object lists the user's utc_offset. Using
 that, you're able to get the exact time of the tweet, relative of course to
 the user's honesty in setting their time zone.

 On Sun, Aug 2, 2009 at 17:43, Matt mattroberts...@gmail.com wrote:

  Is it possible to get a user's actual time including daylight savings?

  Matt

 --
 Internets. Serious business.


[twitter-dev] Re: Daylight savings

2009-08-03 Thread JDG
I think that you should rely on your programming language to do that. I know
that in Java, if I give it a java.util.Calendar object, it can tell if I'm
in DST based on the TimeZone and the date represented by the Calendar
object.

On Mon, Aug 3, 2009 at 15:40, Matt mattroberts...@gmail.com wrote:


 I'll try to be a bit specific, I need to know if a user is currently
 in daylight savings time. For instance my time zone is listed as
 London (this is where I live) GMT +0 however the UK is currently in
 British Summer Time (BST) which is GMT +1. The api will report that
 I'm in GMT +0 when I'm not.

 I ask this but I think I know the anwser, does the API have any
 knowledge of a user's actual time zone (inc DST) without the user
 having to change their TZ whenever their clock changes?


 On Aug 3, 3:18 am, JDG ghil...@gmail.com wrote:
  What do you mean? The time of a tweet? If so, you have the created_at
  parameter in the status object which is the UTC time of the tweet, and
 the
  user object within the status object lists the user's utc_offset. Using
  that, you're able to get the exact time of the tweet, relative of course
 to
  the user's honesty in setting their time zone.
 
  On Sun, Aug 2, 2009 at 17:43, Matt mattroberts...@gmail.com wrote:
 
   Is it possible to get a user's actual time including daylight savings?
 
   Matt
 
  --
  Internets. Serious business.




-- 
Internets. Serious business.


[twitter-dev] Re: Daylight savings

2009-08-03 Thread Chad Etzel

Hi Matt,

Right now neither the API nor the Twitter site settings know anything
about DST for any timezone. The best you can do for now is, as JDG
suggest, figure this out programmatically on your end.

Thanks,
-Chad
Twitter Platform Support

On Mon, Aug 3, 2009 at 5:40 PM, Mattmattroberts...@gmail.com wrote:

 I'll try to be a bit specific, I need to know if a user is currently
 in daylight savings time. For instance my time zone is listed as
 London (this is where I live) GMT +0 however the UK is currently in
 British Summer Time (BST) which is GMT +1. The api will report that
 I'm in GMT +0 when I'm not.

 I ask this but I think I know the anwser, does the API have any
 knowledge of a user's actual time zone (inc DST) without the user
 having to change their TZ whenever their clock changes?


 On Aug 3, 3:18 am, JDG ghil...@gmail.com wrote:
 What do you mean? The time of a tweet? If so, you have the created_at
 parameter in the status object which is the UTC time of the tweet, and the
 user object within the status object lists the user's utc_offset. Using
 that, you're able to get the exact time of the tweet, relative of course to
 the user's honesty in setting their time zone.

 On Sun, Aug 2, 2009 at 17:43, Matt mattroberts...@gmail.com wrote:

  Is it possible to get a user's actual time including daylight savings?

  Matt

 --
 Internets. Serious business.



[twitter-dev] Re: Daylight savings

2009-08-02 Thread JDG
What do you mean? The time of a tweet? If so, you have the created_at
parameter in the status object which is the UTC time of the tweet, and the
user object within the status object lists the user's utc_offset. Using
that, you're able to get the exact time of the tweet, relative of course to
the user's honesty in setting their time zone.

On Sun, Aug 2, 2009 at 17:43, Matt mattroberts...@gmail.com wrote:


 Is it possible to get a user's actual time including daylight savings?


 Matt




-- 
Internets. Serious business.