Hi there,
I need to find the number of days between dates, calculating from the first date
ID Date
1 11nov2006
1 26may2007
1 26may2007
1 30may2007
gen newvar= date-date[n-1] does NOT work since it will go back to 0 for 26may2007.
Does anyone know how to do this? Thanks