The corresponding civilian time is given by:
floor ((m mod 1200) / 100) hours,
m mod 100 minutes.
Example:
Currently it is 0142 hours where I live. 1:42 AM.
floor (142 mod 1200 / 100) = floor(142 / 100) = 1 hour
142 mod 100 = 42 minutes
The math works equivalently for 1342 hours, or 1:42 PM.
Note:
In C++, a integer literal which appears with a leading zero is considered an octal (base 8) literal. Be careful of this in case you hard-code the current time into your program with a leading zero.