Destring a time variable using Stata
问题 How to destring a time variable (7:00) using Stata? I have tried destring : however, the : prevents the destring . I then tried destring, ignore(:) but was unable to then make a double and/or format %tc . encode does not work; recast does not do the job. I also have a separate string date that I was able to destring and convert to a double . Am I missing that I could be combining these two string variables (one date, one time) into a date/time variable or is it correct to destring them