Question: I have been doing a project in php and i get a nested array from where i have to extract the values.
Here from this array i have to get only the time from the timestamp i.e from [ArrTime] and [DepTIme]

```
[Segment] => stdClass Object
  (
    [WSSegment] => stdClass Object
      (

        [DepTIme] => 2014-12-10T15:40:00
        [ArrTime] => 2014-12-10T18:25:00
        [ETicketEligible] => 1
        [OperatingCarrier] => HW
      ) 

  ) 

```

I have being trying to apply the implode function on the timestamp but it is not working for me .

Answer: 
You can make use of the `since` parameter as described in 

* <https://developers.facebook.com/docs/graph-api/reference/v2.2/user/events/#read>
* <https://developers.facebook.com/docs/graph-api/using-graph-api#paging>

if you set the timestamp to the current time, you should only see future events:

```
/me/events?since=1417508443

```
You can use `time_filter=enum{upcoming,past}`. e.g. if you want upcoming events that have not expired yet, send a request like this

> 
> /page\_name\_or\_id/events?time\_filter=upcoming
> 
> 
> 

In this way you don't have to handle timezone issues as with `since=timestamp` query.