php - Sort JSON object by string datetime -
i have json object containing many objects. 1 of values time. problem is string @ moment. how can convert date , sort objects date , place 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 example of value key time:
april 20, 2014 10:13
Comments
Post a Comment