Right heres what I'm trying to do-
I'm making a function that recieves a 24 hour time as an int. For example "1300", for one o'clock and "1534", for 26 minutes to 4. What I want to do is get the number of minutes difference between the two values but have problems when I try to just take them away from each other because of the whole 60minutes in an hour problem.
Is there any way I can seperate the first two digits of the int passed to my function so that I can multiply them by 60 to get a difference that way? I can't use the time function to get the program to do it for me.