I have for example that time "15:00:00" and "15:30:00"
firstly i do split and cast to Integer
const hour = Number(this.time.split(':')[0]);
const minutes = Number(this.time.split(':')[1]);
and later i using for example if(hour > hour1) { .... }
I know that this method is not optimal is some tips to compare time?