get time format to hh:mm

I fetch a specific time from an JSON. The value I get for the start-time looks like this: 2021-02-15T20:30:00+01:00
But I need to get it in hh:mm.
I tried Date.parse() but I am unable to get the hours and minutes from this value.
How can I do this else?

        .then(Response => Response.json())
        .then(data => { 

    var summary = data['items']['0']['summary'];
    var location = data['items']['0']['location'];
    var start = data['items']['0']['start']['dateTime'];
    var end = data['items']['0']['end']['dateTime'];

29 thoughts on “get time format to hh:mm”

Leave a Comment