0

I need to show when event occurs in local time.
1. What is time zone of start_time in event table ?
2. How convert this time to local time. For example gmt+2

FQL: fql?q={"eventmembers": 'select eid from event_member where uid = me()', 'events': 'select eid, name, tagline, pic_big, host, event_type, event_subtype, start_time, creator, location, venue from event where eid in (select eid from #eventmembers) and start_time > 1332337956'}

1 Answer 1

1

Everything in Facebook is converted to Pacific time. http://developers.facebook.com/docs/reference/api/event/

You can pass in your own time zone to an event when you create it.

2
  • so do I need to subtract 8h from start_time (PST) to get UTC ?
    – Oleg Dats
    Apr 2, 2012 at 18:54
  • Not necessarily, because you need to take DST into account as well. Your language of choice most likely has a convertToUTC-type function. I would use that.
    – Jordan
    Apr 3, 2012 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.