I have response from an API like below
2019-05-08T10:36:00+0530
I want to take 10:36
from it, right now I do something with regex like
preg_match('/T(.*?)\:00/');
It works, but is there any other actual way to do it more efficiently? That works on any time string in this format?