What is the difference between start_time Facebook in the Events table and the FB events page?

I use explorer to check this event

FQL Event table : fql? q = {'events': 'select eid, name, start_time from the event where eid = 359724487410779'} - returns start_time = 1337410800
Conversion 1337410800 gives Saturday, May 19, 2012, 07:00:00 (GMT)

Event object in FB api explorer: https://graph.facebook.com/359724487410779 - returns start_time = 2012-05-19T00: 00: 00

Event object in the browser: https://graph.facebook.com/359724487410779 - returns start_time = 2012-05-18T14: 00: 00

FB page https://www.facebook.com/events/359724487410779 - Friday, May 18, 2012 11:00 pm to 4:00 am at UTC + 02

How can I get the right local time, for example, on the FB Event page (Friday, May 18, 2012) 11:00) based on the Facebook API?

+3
source share
1 answer
  • Event table - contains the time of the event (in GMT), if it is in the Pacific (see here ), therefore 1337410800 will give you May 19 at 7:00 GMT →, which May 18 at 11:00 in PST is the time of the event if you delete the time zone.

  • FB api explorer - , Facebook, 2012-05-18T17: 00: 00, (EST). , 18 11 CET

  • - .. FB API - PST (2 PST → 23:00 /)

  • FB, ,

- Graph API start_time Pacific UTC. " : /", UTC .

+7

All Articles