Hi All,
Below is the data I got from a collaborator, column 3 is the combined data with both dates and time., however, it's a string. I want to calculate the length of stay by using dischargetime - combinedarrivaltime. I have trouble with this because those 2 columns are in different formats. Stata gives me some weird number. I'm not familiar with dates formats in stata. Could anyone give me some clue? Thanks so much!
Below is the data I got from a collaborator, column 3 is the combined data with both dates and time., however, it's a string. I want to calculate the length of stay by using dischargetime - combinedarrivaltime. I have trouble with this because those 2 columns are in different formats. Stata gives me some weird number. I'm not familiar with dates formats in stata. Could anyone give me some clue? Thanks so much!
Comment