Hello,
Reading the json nfl data file, and one of the fields is the date and time of the game...
date : 2022-09-18T17:00Z
I used ABG's method to get the json item (list by walking key path), now I need to convert to an actual date instance.
Is there a way to convert this to an actual date / time instance, so I can format it the way I would like it displayed ?
In php I used
$format = 'D, F jS h:i a T'; // Thu, September 8th 8:20 PM EDT
$date = DateTimeImmutable::createFromFormat($format, $d);
$date->format('D-- h:i a')
to change the display format to Thu--8:20 pm
Is there a way to translate this to App Inventor ?
Thanks,
Mike