The rule for the AM/PM to 24-hour format conversion is simple. Namely, if it is 3 PM, one needs to add 3 to 12. The sum will be 15.