Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7939589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:08:50+00:00 2026-06-03T23:08:50+00:00

I got from various sources that Facebook stores The start and end time of

  • 0

I got from various sources that Facebook stores The start and end time of events as PST. But there must be something I’m missing. Take this facebook event which I created. I live in Italy and in fact when I insert the event time it says UTC + 2. I insert 2012-05-18 10.30 PM as the event start time. I Expect this to be saved as 1.30 PM Pacific time, because PST should be GMT -7 (because of daylight saving time). But if I do

$start = date("Y-m-d H:i:s", $facebook_event['start_time'] );

$start comes out 2012-05-19 05:30:00 which is 7 hours after the time I inserted! How is that possible? what am I missing?

EDIT – this is how I retrieve the event start_time

        $fql = "SELECT 
                    eid,
                    name,
                    description,
                    start_time,
                    end_time,
                    venue,
                    location,
                    update_time
                FROM
                    event
                WHERE 
                    eid IN (SELECT eid FROM event_member WHERE uid = $id)" ;
        $events = $facebook->api( array(
            'method' => 'fql.query',
            'query' => $fql,
        ) );

I don’t use the /$id/events/ api call because I always get back an empty set when I get my friends events

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T23:08:51+00:00Added an answer on June 3, 2026 at 11:08 pm

    let me explain the Facebook timezone rules,

    Facebook always assumes start_time or end_time you are sending are in pacific timezone. so its our responsibility to send them in pacific timezone.

    In above case,
    You inserted 2012-05-18 10.30 PM in EST but Facebook assumes that you are sending it in pacific time. so it converts in to UTC as 2012-05-19 05:30:00. which you will recive throuh API.

    simply fb_stored_time = epoch(UTC(assumed_Pacific_time))

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a Prism project with code that I've gotten from various sources ,
I have a script that is scraping URLs from various sources, resulting in a
I've got a database which stores pings from various places in the following format:
I've got a Windows Forms Application that does some data fetching from various places.
I'm extracting data from various sources into one table. In this new table, there's
I have the integer pixel I got from getRGB(x,y) , but I don't have
I have a bytearray object in Python 2.7 that I got from a query
I have a maintenance application that has to turn enterprise data (from various databases/tables)
I've got an MVC application written with Zend Framework that pulls data from an
How unique is the php session id? I got the impression from various things

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.