MATL, 4 bytes
15XO
###Explanation
Built-in function: date string conversion with automatic detection of input format and with output format 15
, which corresponds to 'HH:MM'
. This is equivalent to @StewieGriffin's Octave answer.
15XO
###Explanation
Built-in function: date string conversion with automatic detection of input format and with output format 15
, which corresponds to 'HH:MM'
. This is equivalent to @StewieGriffin's Octave answer.