Hi,

time() returns epoch time which is an absolute value, and you don't need to 
consider timezones.
http://php.net/manual/en/function.time.php
-- 
Yusuke Yamamoto
yus...@mac.com

this email is: [x] bloggable/tweetable [ ] private
follow me on : http://twitter.com/yusukeyamamoto
subscribe me at : http://samuraism.jp/

On Jan 18, 2011, at 13:56 , Thomas wrote:

> My servers default time is PST but twitters time is EST I believe so
> that's why I added 3 hours.
> 
> On Jan 17, 4:35 pm, "@epc" <epcoste...@gmail.com> wrote:
>> On Jan 16, 2:10 pm, Thomas <thomasrei...@gmail.com> wrote:
>> 
>>> <?php
>>> $time = time() + 10800;
>> 
>> Why are you setting the timestamp for 3 hours in the future?
>> oAuth/twitter are very picky about the time being "close" to accurate,
>> being 3 hours off is definitely one potential problem with your code.
>> --
>> -ed costello
> 
> -- 
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to