where datepart(yy,time) between '1999' and '2000'