Hi,

I briefly dug into this and could not find an answer. I have 3 variables: a date variable, a time variable, and an am/pm indicator for the date/time an incident was reported and for when it occurred. For each, I'd like to replace the 2 time variables with 1 military time variable. I think this involves the clock function but I'm getting error codes. Could anyone help? My dataset looks like this:

inci_id date_rept time_rept_1 time_rept_2 date_occu time_occur_1 time_occur_2
20013 1/1/2020 12:24:00 AM 1/1/2020 12:15:59 AM

Thank you!
Tom