>PRIVATE test >ldStart = DATE(2008,12,31) >ldEnd = DATE() > >SYS(3054,12,'test') > >lnMonth1 = month(ldStart) >lnDay1 = day(ldStart) > >lnDiff = ldEnd - ldStart > >select dDOB from Patients where dDOB is not null and dDOB <> {} and dDOB ; >between date(year(dDOB),lnMonth1,lnDay1) and (date(year(dDOB),lnMonth1,lnDay1) + lnDiff) ; >ORDER BY dDOB INTO CURSOR curTest nofilter > >BROWSE FOR MONTH(dDob) = 2 > >_cliptext = testYes, because for anyone born on 1944-1-2 it will try to find that date between 1944-12-31 and today, which is an interval which starts about 258 days later.