I have a json object which containing many objects. one of the values is time. The problem is it is a string at the moment. How can i convert this to a date and then sort all the objects by this date and then place it into a new array?
the object
$json_string = 'http://95.85.11.40/wordpress/?page_id=20';
$jsondata = file_get_contents($json_string);
$obj = json_decode($jsondata, true);
This is a example of the value for key time:
April 20, 2014 10:13 am