medium difficulty question from Coderbyte. The question was very easy just by looking at it you will build the logic instantly, but I couldn't convert the time string into appropriate numbers, which led to code not working and later got rejected. I approached it correctly and explained my logic very well however i didn't remember to convert the time string into an appropriate numerical format which resulted in code not working correctly.