NEWS
Hilfe mit JSON-Auswertung
-
Hallo zusammen,
Ich bin ein JSON-Dummy und brauche mal eure Hilfe. Ich habe dieses JSON hier:
{ "mon": [ { "start": "06:00", "end": "22:00", "mode": "normal", "position": 0 } ], "tue": [ { "start": "06:00", "end": "22:00", "mode": "normal", "position": 0 } ], "wed": [ { "start": "06:00", "end": "22:00", "mode": "normal", "position": 0 } ], "thu": [ { "start": "06:00", "end": "22:00", "mode": "normal", "position": 0 } ], "fri": [ { "start": "06:00", "end": "22:00", "mode": "normal", "position": 0 } ], "sat": [ { "start": "07:00", "end": "22:00", "mode": "normal", "position": 0 } ], "sun": [ { "start": "07:00", "end": "22:00", "mode": "normal", "position": 0 } ] }
Ich möchte wissen, ob die aktuelle Zeit innerhalb von start/end für den aktuellen Tag liegt. Das geht vermutlich ganz einfach, aber ich habe leider keine Ahnung von JSON-Verarbeitung...
Kann mir da jemand helfen? Danke schon mal im Voraus.
-
@guitardoc sagte: ob die aktuelle Zeit innerhalb von start/end für den aktuellen Tag liegt.
-
@paul53 Ich wusste, dass es ganz einfach ist...
Danke für die Hilfe!