I am trying to retrieve 11 (hour) from the date string provided by the server which is 2020-07-12T11:00:00+02:00.
I tried using getHours() but returned with a local time hour. also tried using getUTCHours() but got the time with the 0 offset.
I am trying to retrieve 11 (hour) from the date string provided by the server which is 2020-07-12T11:00:00+02:00.
I tried using getHours() but returned with a local time hour. also tried using getUTCHours() but got the time with the 0 offset.