filmov
tv
Json_decode display field start chronological order

Показать описание
Below, you can find the text related to the question/problem. In the video, the question will be presented first, followed by the answers. If the video moves too fast, feel free to pause and review the answers. If you need more detailed information, you can find the necessary sources and links at the bottom of this description. I hope this video has been helpful, and even if it doesn't directly solve your problem, it will guide you to the source of the solution. I'd appreciate it if you like the video and subscribe to my channel!Json_decode display field start chronological order
How can I arrange the date (start) in chronological order when displaying a json file with several fields?
chronological order
with several fields
This is the json file:
{
"0": {
"id": 1,
"rid": 1,
"eventType": "Rendez-vous simple",
"title": "CONGES PAYES",
"description": "",
"start": "01-01-2024 00:00:00",
"end": "06-01-2024 00:00:00",
"color": "#000"
},
"1": {
"id": 2,
"rid": 2,
"eventType": "Rendez-vous simple",
"title": "CARGILL Za 44000 MONTOIR",
"description": "\[R\\u00e9f:6201\]",
"start": "16-01-2024 08:00:00",
"end": "16-01-2024 10:00:00",
"color": "#CF00F4"
},
"2": {
"id": 3,
"rid": 3,
"eventType": "Rendez-vous simple",
"title": "ADMINISTRATIF",
"description": "",
"start": "08-01-2024 00:00:00",
"end": "13-01-2024 00:00:00",
"color": "#FF8C00"
}
}
{
"0": {
"id": 1,
"rid": 1,
"eventType": "Rendez-vous simple",
"title": "CONGES PAYES",
"description": "",
"start": "01-01-2024 00:00:00",
"end": "06-01-2024 00:00:00",
"color": "#000"
},
"1": {
"id": 2,
"rid": 2,
"eventType": "Rendez-vous simple",
"title": "CARGILL Za 44000 MONTOIR",
"description": "\[R\\u00e9f:6201\]",
"start": "16-01-2024 08:00:00",
"end": "16-01-2024 10:00:00",
"color": "#CF00F4"
},
"2": {
"id": 3,
"rid": 3,
"eventType": "Rendez-vous simple",
"title": "ADMINISTRATIF",
"description": "",
"start": "08-01-2024 00:00:00",
"end": "13-01-2024 00:00:00",
"color": "#FF8C00"
}
}
sort(), usort(), asort()?
Tags: php,jsonSource of the question:
Question and source license information:
Question and source license information: