minutes in military time code example
Example: how to convert military time to minutes
-------------- convert military time to minutes: --------------
hours * 60 + minutes
example: 19:35
> 19 * 60 + 35 = 1175 minutes
-------------- convert minutes to military time: --------------
hours = min // 60 (floor division)
minutes = min % 60