trying to split a char

fbriggs4:
I need to do some math with the hours, minutes and seconds and to the best of my knowledge this requires an int.

Guix has already given you some code to convert a string containing hhmmss format into integer hours, minutes and seconds.