If your input is of string type. Just slice it. However, if the type is of type Time or something, I'm not sure but you can try getting the content from the time (it may be returned as a string)
I would also just manipulate the string the separate the hour and minutes. That is what my group did and everything worked out fine.