Dear all,
I am not very familiar with Stata yet and I was hoping you could help me with the following. I'm trying to subtract some dates and I'd like to start by creating a new date with this command:
gen startdate1 = date(start1, "DMY")
However I get the error 'type mismatch (r109). What does this mean? The data I use are in long format and look like 12-2-2009 (meaning 12 February 2009).
Thanks!
Lisanne Denneman
I am not very familiar with Stata yet and I was hoping you could help me with the following. I'm trying to subtract some dates and I'd like to start by creating a new date with this command:
gen startdate1 = date(start1, "DMY")
However I get the error 'type mismatch (r109). What does this mean? The data I use are in long format and look like 12-2-2009 (meaning 12 February 2009).
Thanks!
Lisanne Denneman
Comment