pub fn convert_time_12_to_24(time: &str, ampm: &str) -> String
Converts time from 12 hour format to 24 hour format.