how to convert the json string date to Date format in android
<p>{</p>

<pre><code>"time_slots": [
{
  "id": 1,
  "from_time": "2000-01-01T09:00:00.000Z",
  "to_time": "2000-01-01T10:00:00.000Z",
  "created_at": "2016-05-27T08:09:05.979Z",
  "updated_at": "2016-05-27T08:09:05.979Z",
  "status": true
},
{
  "id": 2,
  "from_time": "2000-01-01T10:00:00.000Z",
  "to_time": "2000-01-01T11:00:00.000Z",
  "created_at": "2016-05-27T08:17:43.121Z",
  "updated_at": "2016-05-27T08:17:43.121Z",
  "status": true
},
{
  "id": 3,
  "from_time": "2000-01-01T13:00:00.000Z",
  "to_time": "2000-01-01T14:00:00.000Z",
  "created_at": "2016-05-27T08:18:06.251Z",
  "updated_at": "2016-05-27T08:18:06.251Z",
  "status": true
},
{
  "id": 4,
  "from_time": "2000-01-01T14:00:00.000Z",
  "to_time": "2000-01-01T15:00:00.000Z",
  "created_at": "2016-05-27T08:18:34.752Z",
  "updated_at": "2016-05-27T08:18:34.752Z",
  "status": true
}
</code></pre>

<p>]
}
can any one please help how to convert json string time to Time format in android.I tried to convert using simple date format  SimpleDateFormat("yyyy-mm-ddTh:m:s"); but its not working.Any help is really appreciated.</p>