You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Given a time in AM/PM format, convert it to military (24-hour) time.
#
# Note: Midnight is "12:00:00AM" on a 12-hour clock, and "00:00:00" on a 24-hour clock. Noon is "12:00:00PM" on a 12-hour clock, and "12:00:00" on a 24-hour clock.
#
# Input Format :: A single string containing a time in 12-hour clock format (i.e.: hh:mm:ssAM or hh:mm:ssPM).
#
# Output Format
# Convert and print the given time in 12-hour format.