I found this code at Google Quickstart calendar API and I have been trying to format the time output but I'm not succeeding.

I tried changing time zones and reading documentation from Android developers but I didn't manage to fix it.

I'm trying to get something like 

> 
> 2017-07-29 16:00:00
> 
> 
> 

But I'm getting 

> 
> 2017-07-29T14:00:00.000Z
> 
> 
> 

Also time zone is different it should be +2.

```
    private List<String> getDataFromApi() throws IOException {
        DateTime now = new DateTime(System.currentTimeMillis());
        List<String> eventStrings = new ArrayList<String>();
        Events events = mService.events().list("primary")
                .setMaxResults(10)
                .setTimeMin(now)
                .setOrderBy("startTime")
                .setSingleEvents(true)
                .execute();
        List<Event> items = events.getItems();

        for (Event event : items) {
            DateTime start = event.getStart().getDateTime();
            if (start == null) {
                start = event.getStart().getDate();
            }
            eventStrings.add(
                    String.format("%s (%s)", event.getSummary(), start));
        }
        return eventStrings;
    }

```